#EEE397#EEE397
#EEE397 is a very light, moderate yellow. Relative luminance 0.753; OKLCH L 90.8% C 0.097 H 101.0°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).
Color values
| HEX | #EEE397 |
|---|---|
| RGB | rgb(238, 227, 151) |
| HSL | hsl(52, 72%, 76%) |
| HSV | hsv(52, 37%, 93%) |
| CMYK | cmyk(0%, 4.6%, 36.6%, 6.7%) |
| CIE-LAB | lab(89.56, -7.11, 38.50) |
| CIE-LCH | lch(89.56, 39.15, 100.46°) |
| OKLab | oklab(90.75% -0.0185 0.0948) |
| OKLCH | oklch(90.75% 0.097 101) |
| XYZ | xyz(68.3159, 75.3515, 40.2177) |
| Luminance | 0.7535 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.40
Palegoldenrod
#EEE8AA
ΔE00 3.25
Light Tan
#FBEEAC
ΔE00 3.31
Vanilla
#F3E5AB
ΔE00 3.82
Dark Cream
#FFF39A
ΔE00 3.94
Buff
#FEF69E
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EEE397 #97A2EE
analogous
#EEB897 #EEE397 #CEEE97
triadic
#EEE397 #97EEE3 #E397EE
tetradic
#EEE397 #97EEB8 #97A2EE #EE97CE
square
#EEE397 #97EEB8 #97A2EE #EE97CE
split-complementary
#EEE397 #97CEEE #B897EE
monochromatic
#DDC72E #E5D562 #EEE397 #F7F1CC #FBF8E5
Accessibility & contrast
On white
1.31
#EEE397 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.07
#EEE397 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EEE397
16.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EEE397 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EEE397 | 1.00 | 1.31 | 16.07 | 16.07 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0DE91
Deuteranopia (green-blind)
#F4E39A
Tritanopia (blue-blind)
#FAD9D0
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #eee397; /* rgb */ color: rgb(238, 227, 151); /* oklch */ color: oklch(90.8% 0.097 101.0);
Tailwind
colors: {
custom: {
50: '#f5ebb6',
500: '#eee397',
950: '#000000',
},
}SCSS
$custom: #eee397; $custom-light: #f5ebb6; $custom-dark: #000000;
JSON
{
"hex": "#eee397",
"rgb": {
"r": 238,
"g": 227,
"b": 151
},
"hsl": {
"h": 52.414,
"s": 71.901,
"l": 76.275
},
"oklch": {
"l": 0.90751,
"c": 0.09661,
"h": 101
},
"luminance": 0.7535
}Semantic roles & 50–950 ramp
primary
#EEE397
secondary
#5F6DCA
accent
#2AD412
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171611
muted
#858481