#E2DA4F#E2DA4F
#E2DA4F is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.0% C 0.156 H 106.0°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DA4F |
|---|---|
| RGB | rgb(226, 218, 79) |
| HSL | hsl(57, 72%, 60%) |
| HSV | hsv(57, 65%, 89%) |
| CMYK | cmyk(0%, 3.5%, 65%, 11.4%) |
| CIE-LAB | lab(85.44, -13.52, 66.67) |
| CIE-LCH | lch(85.44, 68.02, 101.47°) |
| OKLab | oklab(86.99% -0.0432 0.1503) |
| OKLCH | oklch(86.99% 0.156 106) |
| XYZ | xyz(57.8488, 66.8781, 17.2571) |
| Luminance | 0.6688 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.78
Piss Yellow
#DDD618
ΔE00 3.48
Yellowish
#FAEE66
ΔE00 4.68
Sandy Yellow
#FDEE73
ΔE00 5.32
Sand Yellow
#FCE166
ΔE00 5.61
Dirty Yellow
#CDC50A
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DA4F #4F57E2
analogous
#E2914F #E2DA4F #A0E24F
triadic
#E2DA4F #4FE2DA #DA4FE2
tetradic
#E2DA4F #4FE291 #4F57E2 #E24FA0
square
#E2DA4F #4FE291 #4F57E2 #E24FA0
split-complementary
#E2DA4F #4FA0E2 #914FE2
monochromatic
#9D961A #D1C822 #E2DA4F #EBE584 #F3F0B8
Accessibility & contrast
On white
1.46
#E2DA4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.38
#E2DA4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DA4F
14.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DA4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DA4F | 1.00 | 1.46 | 14.38 | 14.38 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD23C
Deuteranopia (green-blind)
#EFD858
Tritanopia (blue-blind)
#F2CCBE
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e2da4f; /* rgb */ color: rgb(226, 218, 79); /* oklch */ color: oklch(87.0% 0.156 106.0);
Tailwind
colors: {
custom: {
50: '#eee587',
500: '#e2da4f',
950: '#000000',
},
}SCSS
$custom: #e2da4f; $custom-light: #eee587; $custom-dark: #000000;
JSON
{
"hex": "#e2da4f",
"rgb": {
"r": 226,
"g": 218,
"b": 79
},
"hsl": {
"h": 56.735,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.86985,
"c": 0.15636,
"h": 106
},
"luminance": 0.66876
}Semantic roles & 50–950 ramp
primary
#E2DA4F
secondary
#353BA0
accent
#43EE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F