#DEF2AC#DEF2AC
#DEF2AC is a very light, moderate yellow-green. Relative luminance 0.820; OKLCH L 93.0% C 0.093 H 121.2°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF2AC |
|---|---|
| RGB | rgb(222, 242, 172) |
| HSL | hsl(77, 73%, 81%) |
| HSV | hsv(77, 29%, 95%) |
| CMYK | cmyk(8.3%, 0%, 28.9%, 5.1%) |
| CIE-LAB | lab(92.58, -17.95, 31.68) |
| CIE-LCH | lch(92.58, 36.41, 119.53°) |
| OKLab | oklab(92.97% -0.0481 0.0795) |
| OKLCH | oklch(92.97% 0.093 121.2) |
| XYZ | xyz(69.3221, 82.0125, 51.1997) |
| Luminance | 0.8201 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.99
Very Pale Green
#CFFDBC
ΔE00 6.01
Very Light Green
#D1FFBD
ΔE00 6.02
Creme
#FFFFB6
ΔE00 6.22
Light Beige
#FFFEB6
ΔE00 6.34
Cream (survey)
#FFFFC2
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF2AC #C0ACF2
analogous
#F2E3AC #DEF2AC #BBF2AC
triadic
#DEF2AC #ACDEF2 #F2ACDE
tetradic
#DEF2AC #ACF2E3 #C0ACF2 #F2ACBB
square
#DEF2AC #ACF2E3 #C0ACF2 #F2ACBB
split-complementary
#DEF2AC #ACBBF2 #E3ACF2
monochromatic
#B4E142 #C9EA77 #DEF2AC #F3FAE1 #F4FBE5
Accessibility & contrast
On white
1.21
#DEF2AC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.40
#DEF2AC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF2AC
17.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF2AC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF2AC | 1.00 | 1.21 | 17.40 | 17.40 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBEAA7
Deuteranopia (green-blind)
#F8EAAF
Tritanopia (blue-blind)
#E4EBE0
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #def2ac; /* rgb */ color: rgb(222, 242, 172); /* oklch */ color: oklch(93.0% 0.093 121.2);
Tailwind
colors: {
custom: {
50: '#e9f6c5',
500: '#def2ac',
950: '#000000',
},
}SCSS
$custom: #def2ac; $custom-light: #e9f6c5; $custom-dark: #000000;
JSON
{
"hex": "#def2ac",
"rgb": {
"r": 222,
"g": 242,
"b": 172
},
"hsl": {
"h": 77.143,
"s": 72.917,
"l": 81.176
},
"oklch": {
"l": 0.92967,
"c": 0.0929,
"h": 121.2
},
"luminance": 0.82012
}Semantic roles & 50–950 ramp
primary
#DEF2AC
secondary
#8D71D1
accent
#10D549
background
#FEFFFD
surface
#FDFEF9
border
#D5D6D2
text
#161713
muted
#848582