#DCFC7A#DCFC7A

#DCFC7A is a very light, vivid yellow-green. Relative luminance 0.862; OKLCH L 94.2% C 0.160 H 121.0°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#DCFC7A
RGBrgb(220, 252, 122)
HSLhsl(75, 96%, 73%)
HSVhsv(75, 52%, 99%)
CMYKcmyk(12.7%, 0%, 51.6%, 1.2%)
CIE-LABlab(94.42, -29.09, 58.12)
CIE-LCHlch(94.42, 65.00, 116.59°)
OKLaboklab(94.18% -0.0825 0.1372)
OKLCHoklch(94.18% 0.16 121)
XYZxyz(67.8389, 86.2417, 31.4810)
Luminance0.8624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFC7A #9A7AFC
analogous
#FCDB7A #DCFC7A #9BFC7A
triadic
#DCFC7A #7ADCFC #FC7ADC
tetradic
#DCFC7A #7AFCDB #9A7AFC #FC7A9B
square
#DCFC7A #7AFCDB #9A7AFC #FC7A9B
split-complementary
#DCFC7A #7A9BFC #DB7AFC
monochromatic
#BBF606 #CCFB3E #DCFC7A #ECFDB6 #F7FEE1

Accessibility & contrast

On white

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

On black

18.25
#DCFC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFC7A
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFC7A#FFFFFF#000000##000000
##DCFC7A1.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6E
Deuteranopia (green-blind)
#FFEF82
Tritanopia (blue-blind)
#E6F1DF
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dcfc7a;
/* rgb */ color: rgb(220, 252, 122);
/* oklch */ color: oklch(94.2% 0.160 121.0);
Tailwind
colors: {
  custom: {
    50: '#e9fda4',
    500: '#dcfc7a',
    950: '#000000',
  },
}
SCSS
$custom: #dcfc7a;
$custom-light: #e9fda4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfc7a",
  "rgb": {
    "r": 220,
    "g": 252,
    "b": 122
  },
  "hsl": {
    "h": 74.769,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94178,
    "c": 0.1601,
    "h": 121
  },
  "luminance": 0.86242
}

Semantic roles & 50–950 ramp

primary
#DCFC7A
secondary
#6641D9
accent
#00E638
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCFC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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