#EAEF97#EAEF97
#EAEF97 is a very light, moderate yellow. Relative luminance 0.815; OKLCH L 92.9% C 0.110 H 111.1°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).
Color values
| HEX | #EAEF97 |
|---|---|
| RGB | rgb(234, 239, 151) |
| HSL | hsl(63, 73%, 76%) |
| HSV | hsv(63, 37%, 94%) |
| CMYK | cmyk(2.1%, 0%, 36.8%, 6.3%) |
| CIE-LAB | lab(92.34, -14.61, 42.03) |
| CIE-LCH | lch(92.34, 44.49, 109.17°) |
| OKLab | oklab(92.88% -0.0398 0.103) |
| OKLCH | oklch(92.88% 0.11 111.1) |
| XYZ | xyz(70.3847, 81.4609, 41.2879) |
| Luminance | 0.8146 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.47
Buff
#FEF69E
ΔE00 3.91
Parchment
#FEFCAF
ΔE00 4.00
Khaki (CSS)
#F0E68C
ΔE00 4.23
Creme
#FFFFB6
ΔE00 4.67
Dark Cream
#FFF39A
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAEF97 #9C97EF
analogous
#EFC897 #EAEF97 #BEEF97
triadic
#EAEF97 #97EAEF #EF97EA
tetradic
#EAEF97 #97EFC8 #9C97EF #EF97BE
square
#EAEF97 #97EFC8 #9C97EF #EF97BE
split-complementary
#EAEF97 #97BEEF #C897EF
monochromatic
#D5DF2D #DFE762 #EAEF97 #F5F7CC #FAFBE4
Accessibility & contrast
On white
1.21
#EAEF97 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.29
#EAEF97 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAEF97
17.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAEF97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAEF97 | 1.00 | 1.21 | 17.29 | 17.29 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCE890
Deuteranopia (green-blind)
#FCEA9B
Tritanopia (blue-blind)
#F5E5D9
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #eaef97; /* rgb */ color: rgb(234, 239, 151); /* oklch */ color: oklch(92.9% 0.110 111.1);
Tailwind
colors: {
custom: {
50: '#f2f4b6',
500: '#eaef97',
950: '#000000',
},
}SCSS
$custom: #eaef97; $custom-light: #f2f4b6; $custom-dark: #000000;
JSON
{
"hex": "#eaef97",
"rgb": {
"r": 234,
"g": 239,
"b": 151
},
"hsl": {
"h": 63.409,
"s": 73.333,
"l": 76.471
},
"oklch": {
"l": 0.9288,
"c": 0.11043,
"h": 111.1
},
"luminance": 0.8146
}Semantic roles & 50–950 ramp
primary
#EAEF97
secondary
#655FCB
accent
#10D51B
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581