#DCF8A2#DCF8A2
#DCF8A2 is a very light, moderate yellow-green. Relative luminance 0.850; OKLCH L 93.9% C 0.114 H 123.2°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).
Color values
| HEX | #DCF8A2 |
|---|---|
| RGB | rgb(220, 248, 162) |
| HSL | hsl(80, 86%, 80%) |
| HSV | hsv(80, 35%, 97%) |
| CMYK | cmyk(11.3%, 0%, 34.7%, 2.7%) |
| CIE-LAB | lab(93.87, -22.88, 38.37) |
| CIE-LCH | lch(93.87, 44.67, 120.80°) |
| OKLab | oklab(93.91% -0.0623 0.095) |
| OKLCH | oklch(93.91% 0.114 123.2) |
| XYZ | xyz(69.6037, 84.9589, 46.9072) |
| Luminance | 0.8496 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.56
Celery
#C1FD95
ΔE00 5.58
Pistachio (survey)
#C0FA8B
ΔE00 5.66
Light Light Green
#C8FFB0
ΔE00 5.71
Light Yellow Green
#CCFD7F
ΔE00 5.93
Tea Green
#BDF8A3
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCF8A2 #BEA2F8
analogous
#F8E9A2 #DCF8A2 #B1F8A2
triadic
#DCF8A2 #A2DCF8 #F8A2DC
tetradic
#DCF8A2 #A2F8E9 #BEA2F8 #F8A2B1
square
#DCF8A2 #A2F8E9 #BEA2F8 #F8A2B1
split-complementary
#DCF8A2 #A2B1F8 #E9A2F8
monochromatic
#B1EF30 #C7F469 #DCF8A2 #F1FCDB #F4FDE3
Accessibility & contrast
On white
1.17
#DCF8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.99
#DCF8A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCF8A2
17.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCF8A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCF8A2 | 1.00 | 1.17 | 17.99 | 17.99 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE9C
Deuteranopia (green-blind)
#FEEDA6
Tritanopia (blue-blind)
#E2F0E2
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #dcf8a2; /* rgb */ color: rgb(220, 248, 162); /* oklch */ color: oklch(93.9% 0.114 123.2);
Tailwind
colors: {
custom: {
50: '#e8fabe',
500: '#dcf8a2',
950: '#000000',
},
}SCSS
$custom: #dcf8a2; $custom-light: #e8fabe; $custom-dark: #000000;
JSON
{
"hex": "#dcf8a2",
"rgb": {
"r": 220,
"g": 248,
"b": 162
},
"hsl": {
"h": 79.535,
"s": 86,
"l": 80.392
},
"oklch": {
"l": 0.93905,
"c": 0.11361,
"h": 123.2
},
"luminance": 0.84959
}Semantic roles & 50–950 ramp
primary
#DCF8A2
secondary
#8B65D9
accent
#03E34C
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582