#E2DF7D#E2DF7D
#E2DF7D is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.5% C 0.121 H 107.1°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DF7D |
|---|---|
| RGB | rgb(226, 223, 125) |
| HSL | hsl(58, 64%, 69%) |
| HSV | hsv(58, 45%, 89%) |
| CMYK | cmyk(0%, 1.3%, 44.7%, 11.4%) |
| CIE-LAB | lab(87.21, -12.49, 48.15) |
| CIE-LCH | lch(87.21, 49.75, 104.55°) |
| OKLab | oklab(88.54% -0.0355 0.1155) |
| OKLCH | oklch(88.54% 0.121 107.1) |
| XYZ | xyz(61.4546, 70.4263, 29.7544) |
| Luminance | 0.7043 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.91
Greenish Beige
#C9D179
ΔE00 5.00
Sandy
#F1DA7A
ΔE00 5.46
Dark Cream
#FFF39A
ΔE00 5.52
Buff
#FEF69E
ΔE00 5.66
Dull Yellow
#EEDC5B
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DF7D #7D80E2
analogous
#E2AD7D #E2DF7D #B3E27D
triadic
#E2DF7D #7DE2DF #DF7DE2
tetradic
#E2DF7D #7DE2AD #7D80E2 #E27DB3
square
#E2DF7D #7DE2AD #7D80E2 #E27DB3
split-complementary
#E2DF7D #7DB3E2 #AD7DE2
monochromatic
#BBB72A #D7D34B #E2DF7D #EDEBAF #F8F8E1
Accessibility & contrast
On white
1.39
#E2DF7D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.09
#E2DF7D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DF7D
15.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DF7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DF7D | 1.00 | 1.39 | 15.09 | 15.09 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD875
Deuteranopia (green-blind)
#F0DC82
Tritanopia (blue-blind)
#EFD4C8
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2df7d; /* rgb */ color: rgb(226, 223, 125); /* oklch */ color: oklch(88.5% 0.121 107.1);
Tailwind
colors: {
custom: {
50: '#ede8a4',
500: '#e2df7d',
950: '#000000',
},
}SCSS
$custom: #e2df7d; $custom-light: #ede8a4; $custom-dark: #000000;
JSON
{
"hex": "#e2df7d",
"rgb": {
"r": 226,
"g": 223,
"b": 125
},
"hsl": {
"h": 58.218,
"s": 63.522,
"l": 68.824
},
"oklch": {
"l": 0.88535,
"c": 0.1208,
"h": 107.1
},
"luminance": 0.70425
}Semantic roles & 50–950 ramp
primary
#E2DF7D
secondary
#4A4DB9
accent
#1FCB1A
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480