#E2DB4E#E2DB4E
#E2DB4E is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.2% C 0.158 H 106.5°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DB4E |
|---|---|
| RGB | rgb(226, 219, 78) |
| HSL | hsl(57, 72%, 60%) |
| HSV | hsv(57, 65%, 89%) |
| CMYK | cmyk(0%, 3.1%, 65.5%, 11.4%) |
| CIE-LAB | lab(85.70, -14.08, 67.32) |
| CIE-LCH | lch(85.70, 68.78, 101.81°) |
| OKLab | oklab(87.19% -0.0448 0.1515) |
| OKLCH | oklch(87.19% 0.158 106.5) |
| XYZ | xyz(58.0728, 67.3838, 17.1536) |
| Luminance | 0.6738 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.00
Piss Yellow
#DDD618
ΔE00 3.41
Yellowish
#FAEE66
ΔE00 4.57
Sandy Yellow
#FDEE73
ΔE00 5.30
Sand Yellow
#FCE166
ΔE00 5.78
Off Yellow
#F1F33F
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DB4E #4E55E2
analogous
#E2914E #E2DB4E #9FE24E
triadic
#E2DB4E #4EE2DB #DB4EE2
tetradic
#E2DB4E #4EE291 #4E55E2 #E24E9F
square
#E2DB4E #4EE291 #4E55E2 #E24E9F
split-complementary
#E2DB4E #4E9FE2 #914EE2
monochromatic
#9C961A #D1C822 #E2DB4E #EBE683 #F3F0B7
Accessibility & contrast
On white
1.45
#E2DB4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.48
#E2DB4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DB4E
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DB4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DB4E | 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)
#EDD33B
Deuteranopia (green-blind)
#F0D957
Tritanopia (blue-blind)
#F2CDBE
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e2db4e; /* rgb */ color: rgb(226, 219, 78); /* oklch */ color: oklch(87.2% 0.158 106.5);
Tailwind
colors: {
custom: {
50: '#eee587',
500: '#e2db4e',
950: '#000000',
},
}SCSS
$custom: #e2db4e; $custom-light: #eee587; $custom-dark: #000000;
JSON
{
"hex": "#e2db4e",
"rgb": {
"r": 226,
"g": 219,
"b": 78
},
"hsl": {
"h": 57.162,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.87186,
"c": 0.15801,
"h": 106.5
},
"luminance": 0.67382
}Semantic roles & 50–950 ramp
primary
#E2DB4E
secondary
#353A9F
accent
#42EF39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F