#DCF8A8#DCF8A8

#DCF8A8 is a very light, moderate yellow-green. Relative luminance 0.852; OKLCH L 94.0% C 0.107 H 124.1°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#DCF8A8
RGBrgb(220, 248, 168)
HSLhsl(81, 85%, 82%)
HSVhsv(81, 32%, 97%)
CMYKcmyk(11.3%, 0%, 32.3%, 2.7%)
CIE-LABlab(93.96, -22.11, 35.51)
CIE-LCHlch(93.96, 41.83, 121.91°)
OKLaboklab(94.01% -0.0599 0.0885)
OKLCHoklch(94.01% 0.107 124.1)
XYZxyz(70.1498, 85.1774, 49.7834)
Luminance0.8518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF8A8 #C4A8F8
analogous
#F8ECA8 #DCF8A8 #B4F8A8
triadic
#DCF8A8 #A8DCF8 #F8A8DC
tetradic
#DCF8A8 #A8F8EC #C4A8F8 #F8A8B4
square
#DCF8A8 #A8F8EC #C4A8F8 #F8A8B4
split-complementary
#DCF8A8 #A8B4F8 #ECA8F8
monochromatic
#AEEF37 #C5F36F #DCF8A8 #F3FDE1 #F4FDE3

Accessibility & contrast

On white

1.16
#DCF8A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#DCF8A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF8A8
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF8A8#FFFFFF#000000##000000
##DCF8A81.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEEA3
Deuteranopia (green-blind)
#FDEDAC
Tritanopia (blue-blind)
#E1F0E3
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dcf8a8;
/* rgb */ color: rgb(220, 248, 168);
/* oklch */ color: oklch(94.0% 0.107 124.1);
Tailwind
colors: {
  custom: {
    50: '#e7fac2',
    500: '#dcf8a8',
    950: '#000000',
  },
}
SCSS
$custom: #dcf8a8;
$custom-light: #e7fac2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf8a8",
  "rgb": {
    "r": 220,
    "g": 248,
    "b": 168
  },
  "hsl": {
    "h": 81,
    "s": 85.106,
    "l": 81.569
  },
  "oklch": {
    "l": 0.94011,
    "c": 0.10683,
    "h": 124.1
  },
  "luminance": 0.85178
}

Semantic roles & 50–950 ramp

primary
#DCF8A8
secondary
#916BD9
accent
#04E251
background
#FEFFFD
surface
#FCFFF9
border
#D5D7D2
text
#161712
muted
#848582

Preview Lab

Preview with #DCF8A8

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

Preview Lab → · Contrast checker → · Palette generator →

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