#E2DF2D#E2DF2D
#E2DF2D is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 87.8% C 0.180 H 108.6°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DF2D |
|---|---|
| RGB | rgb(226, 223, 45) |
| HSL | hsl(59, 76%, 53%) |
| HSV | hsv(59, 80%, 89%) |
| CMYK | cmyk(0%, 1.3%, 80.1%, 11.4%) |
| CIE-LAB | lab(86.57, -17.46, 78.98) |
| CIE-LCH | lch(86.57, 80.88, 102.47°) |
| OKLab | oklab(87.83% -0.0572 0.1706) |
| OKLCH | oklch(87.83% 0.18 108.6) |
| XYZ | xyz(58.2277, 69.1355, 12.7594) |
| Luminance | 0.6913 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 2.21
Off Yellow
#F1F33F
ΔE00 4.31
Sickly Yellow
#D0E429
ΔE00 4.78
Dull Yellow
#EEDC5B
ΔE00 5.04
Yellowish
#FAEE66
ΔE00 5.27
Lemon
#FFF700
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DF2D #2D30E2
analogous
#E2852D #E2DF2D #8AE22D
triadic
#E2DF2D #2DE2DF #DF2DE2
tetradic
#E2DF2D #2DE285 #2D30E2 #E22D8A
square
#E2DF2D #2DE285 #2D30E2 #E22D8A
split-complementary
#E2DF2D #2D8AE2 #852DE2
monochromatic
#838112 #B8B619 #E2DF2D #E9E763 #F1EF99
Accessibility & contrast
On white
1.42
#E2DF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.83
#E2DF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DF2D
14.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DF2D | 1.00 | 1.42 | 14.83 | 14.83 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2D600
Deuteranopia (green-blind)
#F4DB3E
Tritanopia (blue-blind)
#F3D0BF
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #e2df2d; /* rgb */ color: rgb(226, 223, 45); /* oklch */ color: oklch(87.8% 0.180 108.6);
Tailwind
colors: {
custom: {
50: '#f0e877',
500: '#e2df2d',
950: '#000000',
},
}SCSS
$custom: #e2df2d; $custom-light: #f0e877; $custom-dark: #000000;
JSON
{
"hex": "#e2df2d",
"rgb": {
"r": 226,
"g": 223,
"b": 45
},
"hsl": {
"h": 59.006,
"s": 75.732,
"l": 53.137
},
"oklch": {
"l": 0.87826,
"c": 0.17991,
"h": 108.6
},
"luminance": 0.69134
}Semantic roles & 50–950 ramp
primary
#E2DF2D
secondary
#2A2C89
accent
#39F235
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D