#EDF8A3#EDF8A3
#EDF8A3 is a very light, moderate yellow. Relative luminance 0.878; OKLCH L 95.2% C 0.108 H 114.5°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF8A3 |
|---|---|
| RGB | rgb(237, 248, 163) |
| HSL | hsl(68, 86%, 81%) |
| HSV | hsv(68, 34%, 97%) |
| CMYK | cmyk(4.4%, 0%, 34.3%, 2.7%) |
| CIE-LAB | lab(95.07, -16.50, 39.68) |
| CIE-LCH | lch(95.07, 42.97, 112.58°) |
| OKLab | oklab(95.17% -0.0446 0.098) |
| OKLCH | oklch(95.17% 0.108 114.5) |
| XYZ | xyz(75.1036, 87.7844, 47.6309) |
| Luminance | 0.8778 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 1.54
Parchment
#FEFCAF
ΔE00 3.70
Creme
#FFFFB6
ΔE00 3.85
Light Beige
#FFFEB6
ΔE00 4.05
Buff
#FEF69E
ΔE00 4.95
Cream (survey)
#FFFFC2
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF8A3 #AEA3F8
analogous
#F8D9A3 #EDF8A3 #C2F8A3
triadic
#EDF8A3 #A3EDF8 #F8A3ED
tetradic
#EDF8A3 #A3F8D9 #AEA3F8 #F8A3C2
square
#EDF8A3 #A3F8D9 #AEA3F8 #F8A3C2
split-complementary
#EDF8A3 #A3C2F8 #D9A3F8
monochromatic
#D7EF31 #E2F46A #EDF8A3 #F8FCDC #F9FDE3
Accessibility & contrast
On white
1.13
#EDF8A3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.56
#EDF8A3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF8A3
18.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF8A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF8A3 | 1.00 | 1.13 | 18.56 | 18.56 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF09D
Deuteranopia (green-blind)
#FFF2A7
Tritanopia (blue-blind)
#F6EFE2
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #edf8a3; /* rgb */ color: rgb(237, 248, 163); /* oklch */ color: oklch(95.2% 0.108 114.5);
Tailwind
colors: {
custom: {
50: '#f4fabf',
500: '#edf8a3',
950: '#000000',
},
}SCSS
$custom: #edf8a3; $custom-light: #f4fabf; $custom-dark: #000000;
JSON
{
"hex": "#edf8a3",
"rgb": {
"r": 237,
"g": 248,
"b": 163
},
"hsl": {
"h": 67.765,
"s": 85.859,
"l": 80.588
},
"oklch": {
"l": 0.95169,
"c": 0.10768,
"h": 114.5
},
"luminance": 0.87784
}Semantic roles & 50–950 ramp
primary
#EDF8A3
secondary
#7566D9
accent
#03E220
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171712
muted
#858582