#E2DF7C#E2DF7C
#E2DF7C is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.5% C 0.122 H 107.1°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DF7C |
|---|---|
| RGB | rgb(226, 223, 124) |
| HSL | hsl(58, 64%, 69%) |
| HSV | hsv(58, 45%, 89%) |
| CMYK | cmyk(0%, 1.3%, 45.1%, 11.4%) |
| CIE-LAB | lab(87.19, -12.59, 48.62) |
| CIE-LCH | lch(87.19, 50.23, 104.52°) |
| OKLab | oklab(88.52% -0.0358 0.1164) |
| OKLCH | oklch(88.52% 0.122 107.1) |
| XYZ | xyz(61.3911, 70.4009, 29.4197) |
| Luminance | 0.7040 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.97
Greenish Beige
#C9D179
ΔE00 5.05
Sandy
#F1DA7A
ΔE00 5.46
Dark Cream
#FFF39A
ΔE00 5.56
Dull Yellow
#EEDC5B
ΔE00 5.64
Buff
#FEF69E
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DF7C #7C7FE2
analogous
#E2AC7C #E2DF7C #B2E27C
triadic
#E2DF7C #7CE2DF #DF7CE2
tetradic
#E2DF7C #7CE2AC #7C7FE2 #E27CB2
square
#E2DF7C #7CE2AC #7C7FE2 #E27CB2
split-complementary
#E2DF7C #7CB2E2 #AC7CE2
monochromatic
#BAB629 #D7D34A #E2DF7C #EDEBAE #F8F7E0
Accessibility & contrast
On white
1.39
#E2DF7C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.08
#E2DF7C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DF7C
15.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DF7C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DF7C | 1.00 | 1.39 | 15.08 | 15.08 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED874
Deuteranopia (green-blind)
#F0DC81
Tritanopia (blue-blind)
#EFD4C8
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2df7c; /* rgb */ color: rgb(226, 223, 124); /* oklch */ color: oklch(88.5% 0.122 107.1);
Tailwind
colors: {
custom: {
50: '#ede8a4',
500: '#e2df7c',
950: '#000000',
},
}SCSS
$custom: #e2df7c; $custom-light: #ede8a4; $custom-dark: #000000;
JSON
{
"hex": "#e2df7c",
"rgb": {
"r": 226,
"g": 223,
"b": 124
},
"hsl": {
"h": 58.235,
"s": 63.75,
"l": 68.627
},
"oklch": {
"l": 0.88521,
"c": 0.12183,
"h": 107.1
},
"luminance": 0.70399
}Semantic roles & 50–950 ramp
primary
#E2DF7C
secondary
#494CB9
accent
#1FCC1A
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480