#EAF8A2#EAF8A2
#EAF8A2 is a very light, moderate yellow. Relative luminance 0.872; OKLCH L 94.9% C 0.109 H 116.1°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).
Color values
| HEX | #EAF8A2 |
|---|---|
| RGB | rgb(234, 248, 162) |
| HSL | hsl(70, 86%, 80%) |
| HSV | hsv(70, 35%, 97%) |
| CMYK | cmyk(5.6%, 0%, 34.7%, 2.7%) |
| CIE-LAB | lab(94.84, -17.73, 39.83) |
| CIE-LCH | lch(94.84, 43.60, 114.00°) |
| OKLab | oklab(94.93% -0.0481 0.0983) |
| OKLCH | oklch(94.93% 0.109 116.1) |
| XYZ | xyz(74.0208, 87.2365, 47.1143) |
| Luminance | 0.8724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 1.50
Parchment
#FEFCAF
ΔE00 4.38
Creme
#FFFFB6
ΔE00 4.46
Light Beige
#FFFEB6
ΔE00 4.67
Buff
#FEF69E
ΔE00 5.64
Cream (survey)
#FFFFC2
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAF8A2 #B0A2F8
analogous
#F8DBA2 #EAF8A2 #BFF8A2
triadic
#EAF8A2 #A2EAF8 #F8A2EA
tetradic
#EAF8A2 #A2F8DB #B0A2F8 #F8A2BF
square
#EAF8A2 #A2F8DB #B0A2F8 #F8A2BF
split-complementary
#EAF8A2 #A2BFF8 #DBA2F8
monochromatic
#D0EF30 #DDF469 #EAF8A2 #F7FCDB #F9FDE3
Accessibility & contrast
On white
1.14
#EAF8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.45
#EAF8A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAF8A2
18.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAF8A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAF8A2 | 1.00 | 1.14 | 18.45 | 18.45 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF09C
Deuteranopia (green-blind)
#FFF1A6
Tritanopia (blue-blind)
#F3EFE2
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #eaf8a2; /* rgb */ color: rgb(234, 248, 162); /* oklch */ color: oklch(94.9% 0.109 116.1);
Tailwind
colors: {
custom: {
50: '#f1fabe',
500: '#eaf8a2',
950: '#000000',
},
}SCSS
$custom: #eaf8a2; $custom-light: #f1fabe; $custom-dark: #000000;
JSON
{
"hex": "#eaf8a2",
"rgb": {
"r": 234,
"g": 248,
"b": 162
},
"hsl": {
"h": 69.767,
"s": 86,
"l": 80.392
},
"oklch": {
"l": 0.94926,
"c": 0.10946,
"h": 116.1
},
"luminance": 0.87236
}Semantic roles & 50–950 ramp
primary
#EAF8A2
secondary
#7865D9
accent
#03E327
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582