#EDF2AC#EDF2AC
#EDF2AC is a very light, moderate yellow. Relative luminance 0.845; OKLCH L 94.1% C 0.090 H 111.4°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF2AC |
|---|---|
| RGB | rgb(237, 242, 172) |
| HSL | hsl(64, 73%, 81%) |
| HSV | hsv(64, 29%, 95%) |
| CMYK | cmyk(2.1%, 0%, 28.9%, 5.1%) |
| CIE-LAB | lab(93.66, -12.45, 33.32) |
| CIE-LCH | lch(93.66, 35.57, 110.49°) |
| OKLab | oklab(94.1% -0.0327 0.0833) |
| OKLCH | oklch(94.1% 0.09 111.4) |
| XYZ | xyz(74.1237, 84.4882, 51.4248) |
| Luminance | 0.8449 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.38
Light Beige
#FFFEB6
ΔE00 3.16
Creme
#FFFFB6
ΔE00 3.19
Parchment
#FEFCAF
ΔE00 3.25
Palegoldenrod
#EEE8AA
ΔE00 3.71
Cream (survey)
#FFFFC2
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF2AC #B1ACF2
analogous
#F2D4AC #EDF2AC #CAF2AC
triadic
#EDF2AC #ACEDF2 #F2ACED
tetradic
#EDF2AC #ACF2D4 #B1ACF2 #F2ACCA
square
#EDF2AC #ACF2D4 #B1ACF2 #F2ACCA
split-complementary
#EDF2AC #ACCAF2 #D4ACF2
monochromatic
#D6E142 #E2EA77 #EDF2AC #F8FAE1 #F9FBE5
Accessibility & contrast
On white
1.17
#EDF2AC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.90
#EDF2AC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF2AC
17.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF2AC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF2AC | 1.00 | 1.17 | 17.90 | 17.90 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FDECA7
Deuteranopia (green-blind)
#FDEEAF
Tritanopia (blue-blind)
#F6EAE0
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #edf2ac; /* rgb */ color: rgb(237, 242, 172); /* oklch */ color: oklch(94.1% 0.090 111.4);
Tailwind
colors: {
custom: {
50: '#f3f6c5',
500: '#edf2ac',
950: '#000000',
},
}SCSS
$custom: #edf2ac; $custom-light: #f3f6c5; $custom-dark: #000000;
JSON
{
"hex": "#edf2ac",
"rgb": {
"r": 237,
"g": 242,
"b": 172
},
"hsl": {
"h": 64.286,
"s": 72.917,
"l": 81.176
},
"oklch": {
"l": 0.94096,
"c": 0.08952,
"h": 111.4
},
"luminance": 0.84487
}Semantic roles & 50–950 ramp
primary
#EDF2AC
secondary
#7871D1
accent
#10D51F
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171713
muted
#858582