#E8EA7F#E8EA7F
#E8EA7F is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.3% C 0.130 H 109.7°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).
Color values
| HEX | #E8EA7F |
|---|---|
| RGB | rgb(232, 234, 127) |
| HSL | hsl(61, 72%, 71%) |
| HSV | hsv(61, 46%, 92%) |
| CMYK | cmyk(0.9%, 0%, 45.7%, 8.2%) |
| CIE-LAB | lab(90.57, -15.39, 51.41) |
| CIE-LCH | lch(90.57, 53.67, 106.66°) |
| OKLab | oklab(91.33% -0.0439 0.1228) |
| OKLCH | oklch(91.33% 0.13 109.7) |
| XYZ | xyz(66.5336, 77.5352, 31.5355) |
| Luminance | 0.7753 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.79
Manilla
#FFFA86
ΔE00 4.16
Straw
#FCF679
ΔE00 4.17
Yellowish Tan
#FCFC81
ΔE00 4.28
Pale Yellow
#FFFF84
ΔE00 4.80
Buff
#FEF69E
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8EA7F #817FEA
analogous
#EAB67F #E8EA7F #B3EA7F
triadic
#E8EA7F #7FE8EA #EA7FE8
tetradic
#E8EA7F #7FEAB6 #817FEA #EA7FB3
square
#E8EA7F #7FEAB6 #817FEA #EA7FB3
split-complementary
#E8EA7F #7FB3EA #B67FEA
monochromatic
#CACD22 #DFE14A #E8EA7F #F1F3B4 #FAFBE5
Accessibility & contrast
On white
1.27
#E8EA7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.51
#E8EA7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8EA7F
16.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8EA7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8EA7F | 1.00 | 1.27 | 16.51 | 16.51 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E276
Deuteranopia (green-blind)
#FAE684
Tritanopia (blue-blind)
#F5DED1
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #e8ea7f; /* rgb */ color: rgb(232, 234, 127); /* oklch */ color: oklch(91.3% 0.130 109.7);
Tailwind
colors: {
custom: {
50: '#f1f0a6',
500: '#e8ea7f',
950: '#000000',
},
}SCSS
$custom: #e8ea7f; $custom-light: #f1f0a6; $custom-dark: #000000;
JSON
{
"hex": "#e8ea7f",
"rgb": {
"r": 232,
"g": 234,
"b": 127
},
"hsl": {
"h": 61.121,
"s": 71.812,
"l": 70.784
},
"oklch": {
"l": 0.91332,
"c": 0.13036,
"h": 109.7
},
"luminance": 0.77534
}Semantic roles & 50–950 ramp
primary
#E8EA7F
secondary
#4C4AC3
accent
#12D415
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580