#DCFC8A#DCFC8A

#DCFC8A is a very light, vivid yellow-green. Relative luminance 0.867; OKLCH L 94.4% C 0.145 H 122.1°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#DCFC8A
RGBrgb(220, 252, 138)
HSLhsl(77, 95%, 76%)
HSVhsv(77, 45%, 99%)
CMYKcmyk(12.7%, 0%, 45.2%, 1.2%)
CIE-LABlab(94.60, -27.53, 50.95)
CIE-LCHlch(94.60, 57.91, 118.39°)
OKLaboklab(94.39% -0.0768 0.1226)
OKLCHoklch(94.39% 0.145 122.1)
XYZxyz(68.9132, 86.6714, 37.1386)
Luminance0.8667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFC8A #AA8AFC
analogous
#FCE38A #DCFC8A #A3FC8A
triadic
#DCFC8A #8ADCFC #FC8ADC
tetradic
#DCFC8A #8AFCE3 #AA8AFC #FC8AA3
square
#DCFC8A #8AFCE3 #AA8AFC #FC8AA3
split-complementary
#DCFC8A #8AA3FC #E38AFC
monochromatic
#B8F913 #CAFA4E #DCFC8A #EEFEC6 #F6FEE1

Accessibility & contrast

On white

1.15
#DCFC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.33
#DCFC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFC8A
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFC8A#FFFFFF#000000##000000
##DCFC8A1.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF081
Deuteranopia (green-blind)
#FFEF90
Tritanopia (blue-blind)
#E4F2E1
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dcfc8a;
/* rgb */ color: rgb(220, 252, 138);
/* oklch */ color: oklch(94.4% 0.145 122.1);
Tailwind
colors: {
  custom: {
    50: '#e8fdae',
    500: '#dcfc8a',
    950: '#000000',
  },
}
SCSS
$custom: #dcfc8a;
$custom-light: #e8fdae;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfc8a",
  "rgb": {
    "r": 220,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 76.842,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94385,
    "c": 0.14468,
    "h": 122.1
  },
  "luminance": 0.86671
}

Semantic roles & 50–950 ramp

primary
#DCFC8A
secondary
#764FDC
accent
#00E640
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DCFC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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