#DCF8A1#DCF8A1

#DCF8A1 is a very light, moderate yellow-green. Relative luminance 0.849; OKLCH L 93.9% C 0.115 H 123.1°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#DCF8A1
RGBrgb(220, 248, 161)
HSLhsl(79, 86%, 80%)
HSVhsv(79, 35%, 97%)
CMYKcmyk(11.3%, 0%, 35.1%, 2.7%)
CIE-LABlab(93.85, -23.00, 38.85)
CIE-LCHlch(93.85, 45.15, 120.63°)
OKLaboklab(93.89% -0.0627 0.0961)
OKLCHoklch(93.89% 0.115 123.1)
XYZxyz(69.5152, 84.9235, 46.4409)
Luminance0.8492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF8A1 #BDA1F8
analogous
#F8E8A1 #DCF8A1 #B1F8A1
triadic
#DCF8A1 #A1DCF8 #F8A1DC
tetradic
#DCF8A1 #A1F8E8 #BDA1F8 #F8A1B1
square
#DCF8A1 #A1F8E8 #BDA1F8 #F8A1B1
split-complementary
#DCF8A1 #A1B1F8 #E8A1F8
monochromatic
#B2F02F #C7F468 #DCF8A1 #F1FCDA #F4FDE3

Accessibility & contrast

On white

1.17
#DCF8A1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.98
#DCF8A1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF8A1
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF8A1#FFFFFF#000000##000000
##DCF8A11.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE9B
Deuteranopia (green-blind)
#FEEDA5
Tritanopia (blue-blind)
#E2F0E2
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dcf8a1;
/* rgb */ color: rgb(220, 248, 161);
/* oklch */ color: oklch(93.9% 0.115 123.1);
Tailwind
colors: {
  custom: {
    50: '#e8fabd',
    500: '#dcf8a1',
    950: '#000000',
  },
}
SCSS
$custom: #dcf8a1;
$custom-light: #e8fabd;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf8a1",
  "rgb": {
    "r": 220,
    "g": 248,
    "b": 161
  },
  "hsl": {
    "h": 79.31,
    "s": 86.139,
    "l": 80.196
  },
  "oklch": {
    "l": 0.93888,
    "c": 0.11473,
    "h": 123.1
  },
  "luminance": 0.84924
}

Semantic roles & 50–950 ramp

primary
#DCF8A1
secondary
#8A64D9
accent
#03E34B
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DCF8A1

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

Preview Lab → · Contrast checker → · Palette generator →

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