#DCFC79#DCFC79

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

Color values

HEX#DCFC79
RGBrgb(220, 252, 121)
HSLhsl(75, 96%, 73%)
HSVhsv(75, 52%, 99%)
CMYKcmyk(12.7%, 0%, 52%, 1.2%)
CIE-LABlab(94.41, -29.18, 58.56)
CIE-LCHlch(94.41, 65.43, 116.49°)
OKLaboklab(94.17% -0.0828 0.1381)
OKLCHoklch(94.17% 0.161 121)
XYZxyz(67.7773, 86.2170, 31.1564)
Luminance0.8622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFC79 #9979FC
analogous
#FCDA79 #DCFC79 #9BFC79
triadic
#DCFC79 #79DCFC #FC79DC
tetradic
#DCFC79 #79FCDA #9979FC #FC799B
square
#DCFC79 #79FCDA #9979FC #FC799B
split-complementary
#DCFC79 #799BFC #DA79FC
monochromatic
#BBF505 #CCFB3D #DCFC79 #ECFDB5 #F7FEE1

Accessibility & contrast

On white

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

On black

18.24
#DCFC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFC79
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFC79#FFFFFF#000000##000000
##DCFC791.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcfc79;
/* rgb */ color: rgb(220, 252, 121);
/* oklch */ color: oklch(94.2% 0.161 121.0);
Tailwind
colors: {
  custom: {
    50: '#e9fda3',
    500: '#dcfc79',
    950: '#000000',
  },
}
SCSS
$custom: #dcfc79;
$custom-light: #e9fda3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfc79",
  "rgb": {
    "r": 220,
    "g": 252,
    "b": 121
  },
  "hsl": {
    "h": 74.656,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94167,
    "c": 0.16101,
    "h": 121
  },
  "luminance": 0.86217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCFC79

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

Preview Lab → · Contrast checker → · Palette generator →

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