#DCF871#DCF871

#DCF871 is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.2% C 0.163 H 119.5°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#DCF871
RGBrgb(220, 248, 113)
HSLhsl(72, 91%, 71%)
HSVhsv(72, 54%, 97%)
CMYKcmyk(11.3%, 0%, 54.4%, 2.7%)
CIE-LABlab(93.25, -28.01, 60.78)
CIE-LCHlch(93.25, 66.92, 114.74°)
OKLaboklab(93.21% -0.0803 0.1421)
OKLCHoklch(93.21% 0.163 119.5)
XYZxyz(66.0640, 83.5430, 28.2647)
Luminance0.8354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF871 #8D71F8
analogous
#F8D071 #DCF871 #98F871
triadic
#DCF871 #71DCF8 #F871DC
tetradic
#DCF871 #71F8D0 #8D71F8 #F87198
square
#DCF871 #71F8D0 #8D71F8 #F87198
split-complementary
#DCF871 #7198F8 #D071F8
monochromatic
#B7E30B #CEF537 #DCF871 #EAFBAB #F8FEE2

Accessibility & contrast

On white

1.19
#DCF871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#DCF871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF871
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF871#FFFFFF#000000##000000
##DCF8711.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC63
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#E7ECDA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dcf871;
/* rgb */ color: rgb(220, 248, 113);
/* oklch */ color: oklch(93.2% 0.163 119.5);
Tailwind
colors: {
  custom: {
    50: '#e9fa9e',
    500: '#dcf871',
    950: '#000000',
  },
}
SCSS
$custom: #dcf871;
$custom-light: #e9fa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf871",
  "rgb": {
    "r": 220,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 72.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93214,
    "c": 0.16323,
    "h": 119.5
  },
  "luminance": 0.83543
}

Semantic roles & 50–950 ramp

primary
#DCF871
secondary
#5A3AD3
accent
#00E630
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF871

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

Preview Lab → · Contrast checker → · Palette generator →

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