#DCF371#DCF371

#DCF371 is a very light, vivid yellow-green. Relative luminance 0.805; OKLCH L 92.1% C 0.157 H 117.9°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#DCF371
RGBrgb(220, 243, 113)
HSLhsl(71, 84%, 70%)
HSVhsv(71, 53%, 95%)
CMYKcmyk(9.5%, 0%, 53.5%, 4.7%)
CIE-LABlab(91.91, -25.65, 59.24)
CIE-LCHlch(91.91, 64.55, 113.41°)
OKLaboklab(92.14% -0.0736 0.1388)
OKLCHoklch(92.14% 0.157 117.9)
XYZxyz(64.5473, 80.5096, 27.7591)
Luminance0.8051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF371 #8871F3
analogous
#F3C971 #DCF371 #9BF371
triadic
#DCF371 #71DCF3 #F371DC
tetradic
#DCF371 #71F3C9 #8871F3 #F3719B
square
#DCF371 #71F3C9 #8871F3 #F3719B
split-complementary
#DCF371 #719BF3 #C971F3
monochromatic
#B5D712 #CEEE39 #DCF371 #EAF8A9 #F8FDE2

Accessibility & contrast

On white

1.23
#DCF371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.10
#DCF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF371
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF371#FFFFFF#000000##000000
##DCF3711.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#E7E7D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #dcf371;
/* rgb */ color: rgb(220, 243, 113);
/* oklch */ color: oklch(92.1% 0.157 117.9);
Tailwind
colors: {
  custom: {
    50: '#e9f79d',
    500: '#dcf371',
    950: '#000000',
  },
}
SCSS
$custom: #dcf371;
$custom-light: #e9f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf371",
  "rgb": {
    "r": 220,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 70.615,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.9214,
    "c": 0.15713,
    "h": 117.9
  },
  "luminance": 0.80509
}

Semantic roles & 50–950 ramp

primary
#DCF371
secondary
#553BCD
accent
#05E12C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF371

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

Preview Lab → · Contrast checker → · Palette generator →

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