#DCFC51#DCFC51

#DCFC51 is a very light, vivid yellow-green. Relative luminance 0.854; OKLCH L 93.8% C 0.192 H 119.5°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#DCFC51
RGBrgb(220, 252, 81)
HSLhsl(71, 97%, 65%)
HSVhsv(71, 68%, 99%)
CMYKcmyk(12.7%, 0%, 67.9%, 1.2%)
CIE-LABlab(94.07, -32.09, 74.58)
CIE-LCHlch(94.07, 81.19, 113.28°)
OKLaboklab(93.79% -0.0946 0.1674)
OKLCHoklch(93.79% 0.192 119.5)
XYZxyz(65.8120, 85.4309, 20.8058)
Luminance0.8543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFC51 #7151FC
analogous
#FCC651 #DCFC51 #86FC51
triadic
#DCFC51 #51DCFC #FC51DC
tetradic
#DCFC51 #51FCC6 #7151FC #FC5186
square
#DCFC51 #51FCC6 #7151FC #FC5186
split-complementary
#DCFC51 #5186FC #C651FC
monochromatic
#A9CF04 #D0FB15 #DCFC51 #E8FD8D #F4FEC9

Accessibility & contrast

On white

1.16
#DCFC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#DCFC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFC51
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFC51#FFFFFF#000000##000000
##DCFC511.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE36
Deuteranopia (green-blind)
#FFEE5E
Tritanopia (blue-blind)
#E8EFDA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dcfc51;
/* rgb */ color: rgb(220, 252, 81);
/* oklch */ color: oklch(93.8% 0.192 119.5);
Tailwind
colors: {
  custom: {
    50: '#eafd8b',
    500: '#dcfc51',
    950: '#000000',
  },
}
SCSS
$custom: #dcfc51;
$custom-light: #eafd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfc51",
  "rgb": {
    "r": 220,
    "g": 252,
    "b": 81
  },
  "hsl": {
    "h": 71.228,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.93788,
    "c": 0.19228,
    "h": 119.5
  },
  "luminance": 0.85431
}

Semantic roles & 50–950 ramp

primary
#DCFC51
secondary
#4627CA
accent
#00E62B
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DCFC51

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

Preview Lab → · Contrast checker → · Palette generator →

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