#DCFC7C#DCFC7C

#DCFC7C is a very light, vivid yellow-green. Relative luminance 0.863; OKLCH L 94.2% C 0.158 H 121.1°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#DCFC7C
RGBrgb(220, 252, 124)
HSLhsl(75, 96%, 74%)
HSVhsv(75, 51%, 99%)
CMYKcmyk(12.7%, 0%, 50.8%, 1.2%)
CIE-LABlab(94.44, -28.91, 57.24)
CIE-LCHlch(94.44, 64.13, 116.79°)
OKLaboklab(94.2% -0.0818 0.1355)
OKLCHoklch(94.2% 0.158 121.1)
XYZxyz(67.9641, 86.2917, 32.1404)
Luminance0.8629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFC7C #9C7CFC
analogous
#FCDC7C #DCFC7C #9CFC7C
triadic
#DCFC7C #7CDCFC #FC7CDC
tetradic
#DCFC7C #7CFCDC #9C7CFC #FC7C9C
square
#DCFC7C #7CFCDC #9C7CFC #FC7C9C
split-complementary
#DCFC7C #7C9CFC #DC7CFC
monochromatic
#BBF806 #CCFB40 #DCFC7C #ECFDB8 #F7FEE1

Accessibility & contrast

On white

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

On black

18.26
#DCFC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFC7C
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFC7C#FFFFFF#000000##000000
##DCFC7C1.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcfc7c;
/* rgb */ color: rgb(220, 252, 124);
/* oklch */ color: oklch(94.2% 0.158 121.1);
Tailwind
colors: {
  custom: {
    50: '#e9fda5',
    500: '#dcfc7c',
    950: '#000000',
  },
}
SCSS
$custom: #dcfc7c;
$custom-light: #e9fda5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfc7c",
  "rgb": {
    "r": 220,
    "g": 252,
    "b": 124
  },
  "hsl": {
    "h": 75,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94202,
    "c": 0.15825,
    "h": 121.1
  },
  "luminance": 0.86292
}

Semantic roles & 50–950 ramp

primary
#DCFC7C
secondary
#6843DA
accent
#00E639
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCFC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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