#E2DF6C#E2DF6C
#E2DF6C is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.3% C 0.137 H 107.5°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DF6C |
|---|---|
| RGB | rgb(226, 223, 108) |
| HSL | hsl(58, 67%, 65%) |
| HSV | hsv(58, 52%, 89%) |
| CMYK | cmyk(0%, 1.3%, 52.2%, 11.4%) |
| CIE-LAB | lab(87.01, -14.00, 55.93) |
| CIE-LCH | lch(87.01, 57.66, 104.05°) |
| OKLab | oklab(88.32% -0.0414 0.1311) |
| OKLCH | oklch(88.32% 0.137 107.5) |
| XYZ | xyz(60.4601, 70.0285, 24.5164) |
| Luminance | 0.7003 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.30
Khaki (CSS)
#F0E68C
ΔE00 4.40
Yellowish
#FAEE66
ΔE00 4.88
Sandy Yellow
#FDEE73
ΔE00 4.88
Straw
#FCF679
ΔE00 5.20
Sandy
#F1DA7A
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DF6C #6C6FE2
analogous
#E2A46C #E2DF6C #AAE26C
triadic
#E2DF6C #6CE2DF #DF6CE2
tetradic
#E2DF6C #6CE2A4 #6C6FE2 #E26CAA
square
#E2DF6C #6CE2A4 #6C6FE2 #E26CAA
split-complementary
#E2DF6C #6CAAE2 #A46CE2
monochromatic
#B1AD23 #D8D439 #E2DF6C #ECEA9F #F6F5D2
Accessibility & contrast
On white
1.40
#E2DF6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.01
#E2DF6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DF6C
15.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DF6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DF6C | 1.00 | 1.40 | 15.01 | 15.01 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD761
Deuteranopia (green-blind)
#F1DC72
Tritanopia (blue-blind)
#F0D3C5
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2df6c; /* rgb */ color: rgb(226, 223, 108); /* oklch */ color: oklch(88.3% 0.137 107.5);
Tailwind
colors: {
custom: {
50: '#ede899',
500: '#e2df6c',
950: '#000000',
},
}SCSS
$custom: #e2df6c; $custom-light: #ede899; $custom-dark: #000000;
JSON
{
"hex": "#e2df6c",
"rgb": {
"r": 226,
"g": 223,
"b": 108
},
"hsl": {
"h": 58.475,
"s": 67.045,
"l": 65.49
},
"oklch": {
"l": 0.88317,
"c": 0.13748,
"h": 107.5
},
"luminance": 0.70027
}Semantic roles & 50–950 ramp
primary
#E2DF6C
secondary
#4043B2
accent
#1BCF17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F