#E9D162#E9D162
#E9D162 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.9% C 0.133 H 97.2°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).
Color values
| HEX | #E9D162 |
|---|---|
| RGB | rgb(233, 209, 98) |
| HSL | hsl(49, 75%, 65%) |
| HSV | hsv(49, 58%, 91%) |
| CMYK | cmyk(0%, 10.3%, 57.9%, 8.6%) |
| CIE-LAB | lab(83.87, -4.87, 57.03) |
| CIE-LCH | lch(83.87, 57.24, 94.88°) |
| OKLab | oklab(85.93% -0.0168 0.1322) |
| OKLCH | oklch(85.93% 0.133 97.2) |
| XYZ | xyz(58.6117, 63.8090, 20.7820) |
| Luminance | 0.6381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.99
Sandy
#F1DA7A
ΔE00 3.01
Maize
#F4D054
ΔE00 3.41
Dull Yellow
#EEDC5B
ΔE00 3.45
Pale Gold
#FDDE6C
ΔE00 3.71
Sand Yellow
#FCE166
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9D162 #627AE9
analogous
#E98D62 #E9D162 #BEE962
triadic
#E9D162 #62E9D1 #D162E9
tetradic
#E9D162 #62E98D #627AE9 #E962BE
square
#E9D162 #62E98D #627AE9 #E962BE
split-complementary
#E9D162 #62BEE9 #8D62E9
monochromatic
#B79B1A #E1C12C #E9D162 #F1E198 #F8F0CD
Accessibility & contrast
On white
1.53
#E9D162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.76
#E9D162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9D162
13.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9D162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9D162 | 1.00 | 1.53 | 13.76 | 13.76 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#EAD567
Tritanopia (blue-blind)
#FAC3B8
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e9d162; /* rgb */ color: rgb(233, 209, 98); /* oklch */ color: oklch(85.9% 0.133 97.2);
Tailwind
colors: {
custom: {
50: '#f3de92',
500: '#e9d162',
950: '#000000',
},
}SCSS
$custom: #e9d162; $custom-light: #f3de92; $custom-dark: #000000;
JSON
{
"hex": "#e9d162",
"rgb": {
"r": 233,
"g": 209,
"b": 98
},
"hsl": {
"h": 49.333,
"s": 75.419,
"l": 64.902
},
"oklch": {
"l": 0.85928,
"c": 0.1333,
"h": 97.2
},
"luminance": 0.63806
}Semantic roles & 50–950 ramp
primary
#E9D162
secondary
#384FB7
accent
#32D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F