#DCFC7E#DCFC7E

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

Color values

HEX#DCFC7E
RGBrgb(220, 252, 126)
HSLhsl(75, 95%, 74%)
HSVhsv(75, 50%, 99%)
CMYKcmyk(12.7%, 0%, 50%, 1.2%)
CIE-LABlab(94.46, -28.72, 56.36)
CIE-LCHlch(94.46, 63.25, 117.01°)
OKLaboklab(94.23% -0.0811 0.1337)
OKLCHoklch(94.23% 0.156 121.3)
XYZxyz(68.0919, 86.3429, 32.8133)
Luminance0.8634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFC7E #9E7EFC
analogous
#FCDD7E #DCFC7E #9DFC7E
triadic
#DCFC7E #7EDCFC #FC7EDC
tetradic
#DCFC7E #7EFCDD #9E7EFC #FC7E9D
square
#DCFC7E #7EFCDD #9E7EFC #FC7E9D
split-complementary
#DCFC7E #7E9DFC #DD7EFC
monochromatic
#BCF906 #CCFB42 #DCFC7E #ECFDBA #F7FEE1

Accessibility & contrast

On white

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

On black

18.27
#DCFC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFC7E
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFC7E#FFFFFF#000000##000000
##DCFC7E1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF073
Deuteranopia (green-blind)
#FFEF85
Tritanopia (blue-blind)
#E5F1DF
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dcfc7e;
/* rgb */ color: rgb(220, 252, 126);
/* oklch */ color: oklch(94.2% 0.156 121.3);
Tailwind
colors: {
  custom: {
    50: '#e9fda6',
    500: '#dcfc7e',
    950: '#000000',
  },
}
SCSS
$custom: #dcfc7e;
$custom-light: #e9fda6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfc7e",
  "rgb": {
    "r": 220,
    "g": 252,
    "b": 126
  },
  "hsl": {
    "h": 75.238,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94227,
    "c": 0.15638,
    "h": 121.3
  },
  "luminance": 0.86343
}

Semantic roles & 50–950 ramp

primary
#DCFC7E
secondary
#6A44DA
accent
#00E63A
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#161710
muted
#858580

Preview Lab

Preview with #DCFC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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