#E2DC4C#E2DC4C
#E2DC4C is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.4% C 0.160 H 107.0°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DC4C |
|---|---|
| RGB | rgb(226, 220, 76) |
| HSL | hsl(58, 72%, 59%) |
| HSV | hsv(58, 66%, 89%) |
| CMYK | cmyk(0%, 2.7%, 66.4%, 11.4%) |
| CIE-LAB | lab(85.95, -14.68, 68.35) |
| CIE-LCH | lch(85.95, 69.91, 102.12°) |
| OKLab | oklab(87.38% -0.0468 0.1534) |
| OKLCH | oklch(87.38% 0.16 107) |
| XYZ | xyz(58.2639, 67.8789, 16.8689) |
| Luminance | 0.6788 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.26
Piss Yellow
#DDD618
ΔE00 3.28
Yellowish
#FAEE66
ΔE00 4.50
Sandy Yellow
#FDEE73
ΔE00 5.33
Off Yellow
#F1F33F
ΔE00 5.54
Sickly Yellow
#D0E429
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DC4C #4C52E2
analogous
#E2914C #E2DC4C #9DE24C
triadic
#E2DC4C #4CE2DC #DC4CE2
tetradic
#E2DC4C #4CE291 #4C52E2 #E24C9D
square
#E2DC4C #4CE291 #4C52E2 #E24C9D
split-complementary
#E2DC4C #4C9DE2 #914CE2
monochromatic
#9B9519 #CFC822 #E2DC4C #EBE681 #F3F1B5
Accessibility & contrast
On white
1.44
#E2DC4C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.58
#E2DC4C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DC4C
14.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DC4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DC4C | 1.00 | 1.44 | 14.58 | 14.58 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED437
Deuteranopia (green-blind)
#F1DA55
Tritanopia (blue-blind)
#F2CEBF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #e2dc4c; /* rgb */ color: rgb(226, 220, 76); /* oklch */ color: oklch(87.4% 0.160 107.0);
Tailwind
colors: {
custom: {
50: '#efe686',
500: '#e2dc4c',
950: '#000000',
},
}SCSS
$custom: #e2dc4c; $custom-light: #efe686; $custom-dark: #000000;
JSON
{
"hex": "#e2dc4c",
"rgb": {
"r": 226,
"g": 220,
"b": 76
},
"hsl": {
"h": 57.6,
"s": 72.115,
"l": 59.216
},
"oklch": {
"l": 0.87379,
"c": 0.16033,
"h": 107
},
"luminance": 0.67877
}Semantic roles & 50–950 ramp
primary
#E2DC4C
secondary
#34389E
accent
#40EF39
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F