#DCFA72#DCFA72

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

Color values

HEX#DCFA72
RGBrgb(220, 250, 114)
HSLhsl(73, 93%, 71%)
HSVhsv(73, 54%, 98%)
CMYKcmyk(12%, 0%, 54.4%, 2%)
CIE-LABlab(93.80, -28.86, 60.97)
CIE-LCHlch(93.80, 67.45, 115.33°)
OKLaboklab(93.66% -0.0826 0.1426)
OKLCHoklch(93.66% 0.165 120.1)
XYZxyz(66.7388, 84.8020, 28.7689)
Luminance0.8480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFA72 #9072FA
analogous
#FAD472 #DCFA72 #98FA72
triadic
#DCFA72 #72DCFA #FA72DC
tetradic
#DCFA72 #72FAD4 #9072FA #FA7298
square
#DCFA72 #72FAD4 #9072FA #FA7298
split-complementary
#DCFA72 #7298FA #D472FA
monochromatic
#B8E908 #CDF837 #DCFA72 #EBFCAD #F8FEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCFA72#FFFFFF#000000##000000
##DCFA721.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)
#FFED64
Deuteranopia (green-blind)
#FFEE7A
Tritanopia (blue-blind)
#E6EEDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dcfa72;
/* rgb */ color: rgb(220, 250, 114);
/* oklch */ color: oklch(93.7% 0.165 120.1);
Tailwind
colors: {
  custom: {
    50: '#e9fc9e',
    500: '#dcfa72',
    950: '#000000',
  },
}
SCSS
$custom: #dcfa72;
$custom-light: #e9fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfa72",
  "rgb": {
    "r": 220,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 73.235,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93656,
    "c": 0.1648,
    "h": 120.1
  },
  "luminance": 0.84802
}

Semantic roles & 50–950 ramp

primary
#DCFA72
secondary
#5D3BD6
accent
#00E633
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DCFA72

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

Preview Lab → · Contrast checker → · Palette generator →

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