#DCFA71#DCFA71

#DCFA71 is a very light, vivid yellow-green. Relative luminance 0.848; OKLCH L 93.6% C 0.166 H 120.0°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#DCFA71
RGBrgb(220, 250, 113)
HSLhsl(73, 93%, 71%)
HSVhsv(73, 55%, 98%)
CMYKcmyk(12%, 0%, 54.8%, 2%)
CIE-LABlab(93.79, -28.94, 61.40)
CIE-LCHlch(93.79, 67.88, 115.24°)
OKLaboklab(93.65% -0.0829 0.1435)
OKLCHoklch(93.65% 0.166 120)
XYZxyz(66.6822, 84.7793, 28.4707)
Luminance0.8478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFA71 #8F71FA
analogous
#FAD371 #DCFA71 #97FA71
triadic
#DCFA71 #71DCFA #FA71DC
tetradic
#DCFA71 #71FAD3 #8F71FA #FA7197
square
#DCFA71 #71FAD3 #8F71FA #FA7197
split-complementary
#DCFA71 #7197FA #D371FA
monochromatic
#B7E808 #CDF836 #DCFA71 #EBFCAC #F8FEE1

Accessibility & contrast

On white

1.17
#DCFA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#DCFA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFA71
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFA71#FFFFFF#000000##000000
##DCFA711.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED63
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#E7EEDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dcfa71;
/* rgb */ color: rgb(220, 250, 113);
/* oklch */ color: oklch(93.6% 0.166 120.0);
Tailwind
colors: {
  custom: {
    50: '#e9fc9e',
    500: '#dcfa71',
    950: '#000000',
  },
}
SCSS
$custom: #dcfa71;
$custom-light: #e9fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfa71",
  "rgb": {
    "r": 220,
    "g": 250,
    "b": 113
  },
  "hsl": {
    "h": 73.139,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93645,
    "c": 0.16568,
    "h": 120
  },
  "luminance": 0.84779
}

Semantic roles & 50–950 ramp

primary
#DCFA71
secondary
#5C3AD5
accent
#00E632
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DCFA71

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

Preview Lab → · Contrast checker → · Palette generator →

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