#E9E172#E9E172
#E9E172 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.4% C 0.133 H 105.1°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).
Color values
| HEX | #E9E172 |
|---|---|
| RGB | rgb(233, 225, 114) |
| HSL | hsl(56, 73%, 68%) |
| HSV | hsv(56, 51%, 91%) |
| CMYK | cmyk(0%, 3.4%, 51.1%, 8.6%) |
| CIE-LAB | lab(88.16, -11.69, 54.65) |
| CIE-LCH | lch(88.16, 55.88, 102.08°) |
| OKLab | oklab(89.39% -0.0346 0.1288) |
| OKLCH | oklch(89.39% 0.133 105.1) |
| XYZ | xyz(63.5685, 72.3909, 26.5406) |
| Luminance | 0.7239 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.36
Dull Yellow
#EEDC5B
ΔE00 3.57
Sandy Yellow
#FDEE73
ΔE00 3.80
Yellowish
#FAEE66
ΔE00 4.19
Straw
#FCF679
ΔE00 4.63
Sandy
#F1DA7A
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9E172 #727AE9
analogous
#E9A572 #E9E172 #B6E972
triadic
#E9E172 #72E9E1 #E172E9
tetradic
#E9E172 #72E9A5 #727AE9 #E972B6
square
#E9E172 #72E9A5 #727AE9 #E972B6
split-complementary
#E9E172 #72B6E9 #A572E9
monochromatic
#C2B71E #E1D63D #E9E172 #F1ECA7 #FAF8DC
Accessibility & contrast
On white
1.36
#E9E172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.48
#E9E172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9E172
15.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9E172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9E172 | 1.00 | 1.36 | 15.48 | 15.48 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DA68
Deuteranopia (green-blind)
#F5E077
Tritanopia (blue-blind)
#F8D4C8
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #e9e172; /* rgb */ color: rgb(233, 225, 114); /* oklch */ color: oklch(89.4% 0.133 105.1);
Tailwind
colors: {
custom: {
50: '#f2ea9d',
500: '#e9e172',
950: '#000000',
},
}SCSS
$custom: #e9e172; $custom-light: #f2ea9d; $custom-dark: #000000;
JSON
{
"hex": "#e9e172",
"rgb": {
"r": 233,
"g": 225,
"b": 114
},
"hsl": {
"h": 55.966,
"s": 73.006,
"l": 68.039
},
"oklch": {
"l": 0.89385,
"c": 0.13334,
"h": 105.1
},
"luminance": 0.72389
}Semantic roles & 50–950 ramp
primary
#E9E172
secondary
#3E47C1
accent
#1ED510
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F