#EDF8A2#EDF8A2
#EDF8A2 is a very light, moderate yellow. Relative luminance 0.877; OKLCH L 95.2% C 0.109 H 114.4°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF8A2 |
|---|---|
| RGB | rgb(237, 248, 162) |
| HSL | hsl(68, 86%, 80%) |
| HSV | hsv(68, 35%, 97%) |
| CMYK | cmyk(4.4%, 0%, 34.7%, 2.7%) |
| CIE-LAB | lab(95.06, -16.62, 40.15) |
| CIE-LCH | lch(95.06, 43.45, 112.48°) |
| OKLab | oklab(95.15% -0.045 0.0991) |
| OKLCH | oklch(95.15% 0.109 114.4) |
| XYZ | xyz(75.0143, 87.7487, 47.1609) |
| Luminance | 0.8775 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 1.64
Parchment
#FEFCAF
ΔE00 3.74
Creme
#FFFFB6
ΔE00 3.93
Light Beige
#FFFEB6
ΔE00 4.13
Buff
#FEF69E
ΔE00 4.91
Cream (survey)
#FFFFC2
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF8A2 #ADA2F8
analogous
#F8D8A2 #EDF8A2 #C2F8A2
triadic
#EDF8A2 #A2EDF8 #F8A2ED
tetradic
#EDF8A2 #A2F8D8 #ADA2F8 #F8A2C2
square
#EDF8A2 #A2F8D8 #ADA2F8 #F8A2C2
split-complementary
#EDF8A2 #A2C2F8 #D8A2F8
monochromatic
#D7EF30 #E2F469 #EDF8A2 #F8FCDB #F9FDE3
Accessibility & contrast
On white
1.13
#EDF8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.55
#EDF8A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF8A2
18.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF8A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF8A2 | 1.00 | 1.13 | 18.55 | 18.55 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF09C
Deuteranopia (green-blind)
#FFF2A6
Tritanopia (blue-blind)
#F7EFE2
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #edf8a2; /* rgb */ color: rgb(237, 248, 162); /* oklch */ color: oklch(95.2% 0.109 114.4);
Tailwind
colors: {
custom: {
50: '#f4fabe',
500: '#edf8a2',
950: '#000000',
},
}SCSS
$custom: #edf8a2; $custom-light: #f4fabe; $custom-dark: #000000;
JSON
{
"hex": "#edf8a2",
"rgb": {
"r": 237,
"g": 248,
"b": 162
},
"hsl": {
"h": 67.674,
"s": 86,
"l": 80.392
},
"oklch": {
"l": 0.95152,
"c": 0.10882,
"h": 114.4
},
"luminance": 0.87748
}Semantic roles & 50–950 ramp
primary
#EDF8A2
secondary
#7465D9
accent
#03E320
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582