#E2DB4F#E2DB4F
#E2DB4F is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.2% C 0.157 H 106.5°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DB4F |
|---|---|
| RGB | rgb(226, 219, 79) |
| HSL | hsl(57, 72%, 60%) |
| HSV | hsv(57, 65%, 89%) |
| CMYK | cmyk(0%, 3.1%, 65%, 11.4%) |
| CIE-LAB | lab(85.70, -14.02, 66.94) |
| CIE-LCH | lch(85.70, 68.39, 101.83°) |
| OKLab | oklab(87.19% -0.0446 0.1509) |
| OKLCH | oklch(87.19% 0.157 106.5) |
| XYZ | xyz(58.1089, 67.3983, 17.3438) |
| Luminance | 0.6740 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.97
Piss Yellow
#DDD618
ΔE00 3.50
Yellowish
#FAEE66
ΔE00 4.56
Sandy Yellow
#FDEE73
ΔE00 5.26
Sand Yellow
#FCE166
ΔE00 5.76
Off Yellow
#F1F33F
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DB4F #4F56E2
analogous
#E2924F #E2DB4F #9FE24F
triadic
#E2DB4F #4FE2DB #DB4FE2
tetradic
#E2DB4F #4FE292 #4F56E2 #E24F9F
square
#E2DB4F #4FE292 #4F56E2 #E24F9F
split-complementary
#E2DB4F #4F9FE2 #924FE2
monochromatic
#9D971A #D1C922 #E2DB4F #EBE684 #F3F0B8
Accessibility & contrast
On white
1.45
#E2DB4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.48
#E2DB4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DB4F
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DB4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DB4F | 1.00 | 1.45 | 14.48 | 14.48 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD33C
Deuteranopia (green-blind)
#F0D958
Tritanopia (blue-blind)
#F2CDBE
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e2db4f; /* rgb */ color: rgb(226, 219, 79); /* oklch */ color: oklch(87.2% 0.157 106.5);
Tailwind
colors: {
custom: {
50: '#eee587',
500: '#e2db4f',
950: '#000000',
},
}SCSS
$custom: #e2db4f; $custom-light: #eee587; $custom-dark: #000000;
JSON
{
"hex": "#e2db4f",
"rgb": {
"r": 226,
"g": 219,
"b": 79
},
"hsl": {
"h": 57.143,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.87194,
"c": 0.1573,
"h": 106.5
},
"luminance": 0.67396
}Semantic roles & 50–950 ramp
primary
#E2DB4F
secondary
#353AA0
accent
#42EE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F