#E9E272#E9E272
#E9E272 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.6% C 0.134 H 105.6°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).
Color values
| HEX | #E9E272 |
|---|---|
| RGB | rgb(233, 226, 114) |
| HSL | hsl(56, 73%, 68%) |
| HSV | hsv(56, 51%, 91%) |
| CMYK | cmyk(0%, 3%, 51.1%, 8.6%) |
| CIE-LAB | lab(88.42, -12.19, 54.95) |
| CIE-LCH | lch(88.42, 56.29, 102.51°) |
| OKLab | oklab(89.59% -0.0361 0.1294) |
| OKLCH | oklch(89.59% 0.134 105.6) |
| XYZ | xyz(63.8396, 72.9331, 26.6310) |
| Luminance | 0.7293 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.44
Dull Yellow
#EEDC5B
ΔE00 3.75
Sandy Yellow
#FDEE73
ΔE00 3.75
Yellowish
#FAEE66
ΔE00 4.08
Straw
#FCF679
ΔE00 4.41
Sandy
#F1DA7A
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9E272 #7279E9
analogous
#E9A772 #E9E272 #B4E972
triadic
#E9E272 #72E9E2 #E272E9
tetradic
#E9E272 #72E9A7 #7279E9 #E972B4
square
#E9E272 #72E9A7 #7279E9 #E972B4
split-complementary
#E9E272 #72B4E9 #A772E9
monochromatic
#C2B91E #E1D73D #E9E272 #F1EDA7 #FAF8DC
Accessibility & contrast
On white
1.35
#E9E272 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.59
#E9E272 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9E272
15.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9E272 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9E272 | 1.00 | 1.35 | 15.59 | 15.59 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DB68
Deuteranopia (green-blind)
#F5E077
Tritanopia (blue-blind)
#F8D5C8
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #e9e272; /* rgb */ color: rgb(233, 226, 114); /* oklch */ color: oklch(89.6% 0.134 105.6);
Tailwind
colors: {
custom: {
50: '#f2ea9d',
500: '#e9e272',
950: '#000000',
},
}SCSS
$custom: #e9e272; $custom-light: #f2ea9d; $custom-dark: #000000;
JSON
{
"hex": "#e9e272",
"rgb": {
"r": 233,
"g": 226,
"b": 114
},
"hsl": {
"h": 56.471,
"s": 73.006,
"l": 68.039
},
"oklch": {
"l": 0.89591,
"c": 0.13435,
"h": 105.6
},
"luminance": 0.72931
}Semantic roles & 50–950 ramp
primary
#E9E272
secondary
#3E46C1
accent
#1CD510
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F