#E2DF6A#E2DF6A
#E2DF6A is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.3% C 0.139 H 107.6°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DF6A |
|---|---|
| RGB | rgb(226, 223, 106) |
| HSL | hsl(59, 67%, 65%) |
| HSV | hsv(59, 53%, 89%) |
| CMYK | cmyk(0%, 1.3%, 53.1%, 11.4%) |
| CIE-LAB | lab(86.99, -14.16, 56.82) |
| CIE-LCH | lch(86.99, 58.56, 103.99°) |
| OKLab | oklab(88.29% -0.0421 0.1328) |
| OKLCH | oklch(88.29% 0.139 107.6) |
| XYZ | xyz(60.3549, 69.9864, 23.9623) |
| Luminance | 0.6998 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.19
Khaki (CSS)
#F0E68C
ΔE00 4.60
Yellowish
#FAEE66
ΔE00 4.76
Sandy Yellow
#FDEE73
ΔE00 4.84
Straw
#FCF679
ΔE00 5.16
Manilla
#FFFA86
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DF6A #6A6DE2
analogous
#E2A36A #E2DF6A #A9E26A
triadic
#E2DF6A #6AE2DF #DF6AE2
tetradic
#E2DF6A #6AE2A3 #6A6DE2 #E26AA9
square
#E2DF6A #6AE2A3 #6A6DE2 #E26AA9
split-complementary
#E2DF6A #6AA9E2 #A36AE2
monochromatic
#AFAC22 #D8D437 #E2DF6A #ECEA9D #F6F5D0
Accessibility & contrast
On white
1.40
#E2DF6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.00
#E2DF6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DF6A
15.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DF6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DF6A | 1.00 | 1.40 | 15.00 | 15.00 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD75E
Deuteranopia (green-blind)
#F1DC70
Tritanopia (blue-blind)
#F0D3C5
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2df6a; /* rgb */ color: rgb(226, 223, 106); /* oklch */ color: oklch(88.3% 0.139 107.6);
Tailwind
colors: {
custom: {
50: '#ede898',
500: '#e2df6a',
950: '#000000',
},
}SCSS
$custom: #e2df6a; $custom-light: #ede898; $custom-dark: #000000;
JSON
{
"hex": "#e2df6a",
"rgb": {
"r": 226,
"g": 223,
"b": 106
},
"hsl": {
"h": 58.5,
"s": 67.416,
"l": 65.098
},
"oklch": {
"l": 0.88294,
"c": 0.13932,
"h": 107.6
},
"luminance": 0.69985
}Semantic roles & 50–950 ramp
primary
#E2DF6A
secondary
#3F42B1
accent
#1BCF16
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F