Skip to content

Flax (#EEDC82)

The hex code for Flax is #EEDC82. It is rgb(238, 220, 130) in RGB, hsl(50, 76%, 72%) in HSL, and about cmyk(0%, 8%, 45%, 7%) in CMYK — a light yellow. Black text is the more readable choice on this background.

#EEDC82
HEX#EEDC82
RGBrgb(238, 220, 130)
HSLhsl(50, 76%, 72%)
HSVhsv(50, 45%, 93%)
CMYKcmyk(0%, 8%, 45%, 7%)
OKLCHoklch(89% 0.113 98.3)
LABlab(87.82% -2.35 46.33)
LCHlch(87.82% 46.39 92.90)

Colors Closest to Flax

Flax is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every yellow in the library.

#EEDC82 Channel Values

How Flax breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 238 · G 220 · B 1308-bit channels as sent to the display
HSLH 50° · S 76% · L 72%Easiest model for building lighter and darker variants
HSVH 50° · S 45% · V 93%Matches the picker in most design tools
CMYKC 0% · M 8% · Y 45% · K 7%Approximate ink mix; confirm with an ICC profile before printing
Luminance1.38:1 vs white · 15.2:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Flax background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text1.38:1AA normal AA large AAA normal
TextBlack text15.2:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #EEDC82 in the contrast checker.

Colors That Go With Flax

Pairings derived from color-wheel relationships. The complementary color sits opposite Flax; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Flax

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #EEDC82.

How Flax Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#EEDC82
Protanopia#DFDF82
Protanomaly#E5DE82
Deuteranopia#E2E281
Deuteranomaly#E7E081
Tritanopia#F6D3D3
Tritanomaly#F3D7B8
Achromatopsia#DBDBDB

Test a full palette in the color blindness simulator.

Using #EEDC82 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--flax: #EEDC82;
CSS backgroundbackground-color: #EEDC82;
Tailwind configcolors: { 'flax': '#EEDC82' }
SwiftUIColor(red: 0.933, green: 0.863, blue: 0.510)
Android XML<color name="flax">#EEDC82</color>
SVG fillfill="#EEDC82"

More Yellow Colors

Flax sits in the yellowfamily. These are its neighbours across that family's full range, each with its own breakdown.

#EEDC82 Frequently Asked Questions

What is the hex code for Flax?

The hex code for Flax is #EEDC82. That is rgb(238, 220, 130) in RGB, hsl(50, 76%, 72%) in HSL, and approximately cmyk(0%, 8%, 45%, 7%) in CMYK.

What is the RGB value of #EEDC82?

#EEDC82 is rgb(238, 220, 130) — red 238, green 220, and blue 130 on the 0-255 scale.

What is the CMYK value of #EEDC82?

#EEDC82 converts to approximately cmyk(0%, 8%, 45%, 7%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #EEDC82 be black or white?

Black text is the more readable choice. #EEDC82 scores 1.38:1 against white and 15.2:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #EEDC82 as a CSS color keyword?

No. #EEDC82 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is khaki (#F0E68C) at a CIE76 distance of 4.51, which is very hard to tell apart.

Open Flax in a Tool

Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.