#E8D161#E8D161
#E8D161 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.8% C 0.134 H 97.8°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D161 |
|---|---|
| RGB | rgb(232, 209, 97) |
| HSL | hsl(50, 75%, 65%) |
| HSV | hsv(50, 58%, 91%) |
| CMYK | cmyk(0%, 9.9%, 58.2%, 9%) |
| CIE-LAB | lab(83.77, -5.36, 57.35) |
| CIE-LCH | lch(83.77, 57.60, 95.34°) |
| OKLab | oklab(85.83% -0.0183 0.1328) |
| OKLCH | oklch(85.83% 0.134 97.8) |
| XYZ | xyz(58.2391, 63.6223, 20.5196) |
| Luminance | 0.6362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.14
Light Mustard
#F7D560
ΔE00 3.24
Dull Yellow
#EEDC5B
ΔE00 3.28
Maize
#F4D054
ΔE00 3.63
Pale Gold
#FDDE6C
ΔE00 3.89
Sand Yellow
#FCE166
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D161 #6178E8
analogous
#E88E61 #E8D161 #BBE861
triadic
#E8D161 #61E8D1 #D161E8
tetradic
#E8D161 #61E88E #6178E8 #E861BB
square
#E8D161 #61E88E #6178E8 #E861BB
split-complementary
#E8D161 #61BBE8 #8E61E8
monochromatic
#B49A1A #E0C12C #E8D161 #F0E196 #F8F0CC
Accessibility & contrast
On white
1.53
#E8D161 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.72
#E8D161 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D161
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D161 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D161 | 1.00 | 1.53 | 13.72 | 13.72 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC55
Deuteranopia (green-blind)
#E9D466
Tritanopia (blue-blind)
#F8C3B8
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e8d161; /* rgb */ color: rgb(232, 209, 97); /* oklch */ color: oklch(85.8% 0.134 97.8);
Tailwind
colors: {
custom: {
50: '#f2de91',
500: '#e8d161',
950: '#000000',
},
}SCSS
$custom: #e8d161; $custom-light: #f2de91; $custom-dark: #000000;
JSON
{
"hex": "#e8d161",
"rgb": {
"r": 232,
"g": 209,
"b": 97
},
"hsl": {
"h": 49.778,
"s": 74.586,
"l": 64.51
},
"oklch": {
"l": 0.85827,
"c": 0.13407,
"h": 97.8
},
"luminance": 0.6362
}Semantic roles & 50–950 ramp
primary
#E8D161
secondary
#394EB5
accent
#31D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F