#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
RGBrgb(220, 248, 162)
HSLhsl(80, 86%, 80%)
HSVhsv(80, 35%, 97%)
CMYKcmyk(11.3%, 0%, 34.7%, 2.7%)
CIE-LABlab(93.87, -22.88, 38.37)
CIE-LCHlch(93.87, 44.67, 120.80°)
OKLaboklab(93.91% -0.0623 0.095)
OKLCHoklch(93.91% 0.114 123.2)
XYZxyz(69.6037, 84.9589, 46.9072)
Luminance0.8496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

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
##DCF8A21.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.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

Preview Lab

Preview with #DCF8A2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#DCF8A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva