#DFF2B2#DFF2B2
#DFF2B2 is a very light, moderate yellow-green. Relative luminance 0.824; OKLCH L 93.2% C 0.085 H 121.5°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).
Color values
| HEX | #DFF2B2 |
|---|---|
| RGB | rgb(223, 242, 178) |
| HSL | hsl(78, 71%, 82%) |
| HSV | hsv(78, 26%, 95%) |
| CMYK | cmyk(7.9%, 0%, 26.4%, 5.1%) |
| CIE-LAB | lab(92.75, -16.76, 28.89) |
| CIE-LCH | lch(92.75, 33.40, 120.13°) |
| OKLab | oklab(93.16% -0.0446 0.0729) |
| OKLCH | oklch(93.16% 0.085 121.5) |
| XYZ | xyz(70.2187, 82.4066, 54.3177) |
| Luminance | 0.8241 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.86
Very Pale Green
#CFFDBC
ΔE00 5.82
Very Light Green
#D1FFBD
ΔE00 5.86
Cream (survey)
#FFFFC2
ΔE00 6.07
Ecru
#FEFFCA
ΔE00 6.24
Creme
#FFFFB6
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFF2B2 #C5B2F2
analogous
#F2E5B2 #DFF2B2 #BFF2B2
triadic
#DFF2B2 #B2DFF2 #F2B2DF
tetradic
#DFF2B2 #B2F2E5 #C5B2F2 #F2B2BF
square
#DFF2B2 #B2F2E5 #C5B2F2 #F2B2BF
split-complementary
#DFF2B2 #B2BFF2 #E5B2F2
monochromatic
#B3E049 #C9E97E #DFF2B2 #F4FBE5 #F4FBE5
Accessibility & contrast
On white
1.20
#DFF2B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.48
#DFF2B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFF2B2
17.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFF2B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFF2B2 | 1.00 | 1.20 | 17.48 | 17.48 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAEBAE
Deuteranopia (green-blind)
#F7EAB5
Tritanopia (blue-blind)
#E4EBE1
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #dff2b2; /* rgb */ color: rgb(223, 242, 178); /* oklch */ color: oklch(93.2% 0.085 121.5);
Tailwind
colors: {
custom: {
50: '#e9f6c9',
500: '#dff2b2',
950: '#000000',
},
}SCSS
$custom: #dff2b2; $custom-light: #e9f6c9; $custom-dark: #000000;
JSON
{
"hex": "#dff2b2",
"rgb": {
"r": 223,
"g": 242,
"b": 178
},
"hsl": {
"h": 77.813,
"s": 71.111,
"l": 82.353
},
"oklch": {
"l": 0.93157,
"c": 0.08546,
"h": 121.5
},
"luminance": 0.82407
}Semantic roles & 50–950 ramp
primary
#DFF2B2
secondary
#9277D1
accent
#12D34C
background
#FEFFFD
surface
#FDFEF9
border
#D5D6D2
text
#161713
muted
#848582