#E2DF56#E2DF56
#E2DF56 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.1% C 0.156 H 108.0°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DF56 |
|---|---|
| RGB | rgb(226, 223, 86) |
| HSL | hsl(59, 71%, 61%) |
| HSV | hsv(59, 62%, 89%) |
| CMYK | cmyk(0%, 1.3%, 61.9%, 11.4%) |
| CIE-LAB | lab(86.81, -15.58, 65.28) |
| CIE-LCH | lch(86.81, 67.11, 103.42°) |
| OKLab | oklab(88.09% -0.0483 0.1484) |
| OKLCH | oklch(88.09% 0.156 108) |
| XYZ | xyz(59.4334, 69.6178, 19.1091) |
| Luminance | 0.6962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.75
Yellowish
#FAEE66
ΔE00 4.21
Piss Yellow
#DDD618
ΔE00 4.40
Sandy Yellow
#FDEE73
ΔE00 4.97
Off Yellow
#F1F33F
ΔE00 5.34
Straw
#FCF679
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DF56 #5659E2
analogous
#E29956 #E2DF56 #9FE256
triadic
#E2DF56 #56E2DF #DF56E2
tetradic
#E2DF56 #56E299 #5659E2 #E2569F
square
#E2DF56 #56E299 #5659E2 #E2569F
split-complementary
#E2DF56 #569FE2 #9956E2
monochromatic
#A29F1C #D6D225 #E2DF56 #EBE98A #F4F3BE
Accessibility & contrast
On white
1.41
#E2DF56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.92
#E2DF56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DF56
14.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DF56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DF56 | 1.00 | 1.41 | 14.92 | 14.92 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0D745
Deuteranopia (green-blind)
#F3DC5E
Tritanopia (blue-blind)
#F1D1C2
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #e2df56; /* rgb */ color: rgb(226, 223, 86); /* oklch */ color: oklch(88.1% 0.156 108.0);
Tailwind
colors: {
custom: {
50: '#eee88c',
500: '#e2df56',
950: '#000000',
},
}SCSS
$custom: #e2df56; $custom-light: #eee88c; $custom-dark: #000000;
JSON
{
"hex": "#e2df56",
"rgb": {
"r": 226,
"g": 223,
"b": 86
},
"hsl": {
"h": 58.714,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.88091,
"c": 0.15604,
"h": 108
},
"luminance": 0.69616
}Semantic roles & 50–950 ramp
primary
#E2DF56
secondary
#383AA5
accent
#17D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F