#E2DF6F#E2DF6F
#E2DF6F is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.4% C 0.135 H 107.5°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DF6F |
|---|---|
| RGB | rgb(226, 223, 111) |
| HSL | hsl(58, 66%, 66%) |
| HSV | hsv(58, 51%, 89%) |
| CMYK | cmyk(0%, 1.3%, 50.9%, 11.4%) |
| CIE-LAB | lab(87.04, -13.75, 54.59) |
| CIE-LCH | lch(87.04, 56.29, 104.14°) |
| OKLab | oklab(88.35% -0.0404 0.1285) |
| OKLCH | oklch(88.35% 0.135 107.5) |
| XYZ | xyz(60.6225, 70.0934, 25.3718) |
| Luminance | 0.7009 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.10
Dull Yellow
#EEDC5B
ΔE00 4.50
Sandy Yellow
#FDEE73
ΔE00 4.98
Yellowish
#FAEE66
ΔE00 5.08
Straw
#FCF679
ΔE00 5.28
Sandy
#F1DA7A
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DF6F #6F72E2
analogous
#E2A56F #E2DF6F #ABE26F
triadic
#E2DF6F #6FE2DF #DF6FE2
tetradic
#E2DF6F #6FE2A5 #6F72E2 #E26FAB
square
#E2DF6F #6FE2A5 #6F72E2 #E26FAB
split-complementary
#E2DF6F #6FABE2 #A56FE2
monochromatic
#B3AF24 #D8D43C #E2DF6F #ECEAA2 #F7F6D5
Accessibility & contrast
On white
1.40
#E2DF6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.02
#E2DF6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DF6F
15.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DF6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DF6F | 1.00 | 1.40 | 15.02 | 15.02 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD764
Deuteranopia (green-blind)
#F1DC75
Tritanopia (blue-blind)
#F0D3C6
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2df6f; /* rgb */ color: rgb(226, 223, 111); /* oklch */ color: oklch(88.4% 0.135 107.5);
Tailwind
colors: {
custom: {
50: '#ede89b',
500: '#e2df6f',
950: '#000000',
},
}SCSS
$custom: #e2df6f; $custom-light: #ede89b; $custom-dark: #000000;
JSON
{
"hex": "#e2df6f",
"rgb": {
"r": 226,
"g": 223,
"b": 111
},
"hsl": {
"h": 58.435,
"s": 66.474,
"l": 66.078
},
"oklch": {
"l": 0.88353,
"c": 0.13468,
"h": 107.5
},
"luminance": 0.70092
}Semantic roles & 50–950 ramp
primary
#E2DF6F
secondary
#4245B4
accent
#1CCE17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F