#E8DF6C#E8DF6C
#E8DF6C is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.8% C 0.137 H 104.8°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).
Color values
| HEX | #E8DF6C |
|---|---|
| RGB | rgb(232, 223, 108) |
| HSL | hsl(56, 73%, 67%) |
| HSV | hsv(56, 53%, 91%) |
| CMYK | cmyk(0%, 3.9%, 53.4%, 9%) |
| CIE-LAB | lab(87.49, -11.58, 56.61) |
| CIE-LCH | lch(87.49, 57.79, 101.56°) |
| OKLab | oklab(88.82% -0.0349 0.1325) |
| OKLCH | oklch(88.82% 0.137 104.8) |
| XYZ | xyz(62.3750, 71.0158, 24.6062) |
| Luminance | 0.7101 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.95
Sandy Yellow
#FDEE73
ΔE00 3.88
Khaki (CSS)
#F0E68C
ΔE00 4.00
Yellowish
#FAEE66
ΔE00 4.11
Sandy
#F1DA7A
ΔE00 4.61
Sand Yellow
#FCE166
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8DF6C #6C75E8
analogous
#E8A16C #E8DF6C #B3E86C
triadic
#E8DF6C #6CE8DF #DF6CE8
tetradic
#E8DF6C #6CE8A1 #6C75E8 #E86CB3
square
#E8DF6C #6CE8A1 #6C75E8 #E86CB3
split-complementary
#E8DF6C #6CB3E8 #A16CE8
monochromatic
#BCB11D #E0D337 #E8DF6C #F0EBA1 #F9F6D6
Accessibility & contrast
On white
1.38
#E8DF6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.20
#E8DF6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8DF6C
15.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8DF6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8DF6C | 1.00 | 1.38 | 15.20 | 15.20 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0D861
Deuteranopia (green-blind)
#F3DE72
Tritanopia (blue-blind)
#F7D2C5
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #e8df6c; /* rgb */ color: rgb(232, 223, 108); /* oklch */ color: oklch(88.8% 0.137 104.8);
Tailwind
colors: {
custom: {
50: '#f2e899',
500: '#e8df6c',
950: '#000000',
},
}SCSS
$custom: #e8df6c; $custom-light: #f2e899; $custom-dark: #000000;
JSON
{
"hex": "#e8df6c",
"rgb": {
"r": 232,
"g": 223,
"b": 108
},
"hsl": {
"h": 55.645,
"s": 72.941,
"l": 66.667
},
"oklch": {
"l": 0.88817,
"c": 0.13697,
"h": 104.8
},
"luminance": 0.71014
}Semantic roles & 50–950 ramp
primary
#E8DF6C
secondary
#3D46BB
accent
#1FD510
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F