#DCF787#DCF787

#DCF787 is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.3% C 0.141 H 120.3°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#DCF787
RGBrgb(220, 247, 135)
HSLhsl(74, 88%, 75%)
HSVhsv(74, 45%, 97%)
CMYKcmyk(10.9%, 0%, 45.3%, 3.1%)
CIE-LABlab(93.23, -25.49, 50.68)
CIE-LCHlch(93.23, 56.73, 116.70°)
OKLaboklab(93.27% -0.0713 0.1218)
OKLCHoklch(93.27% 0.141 120.3)
XYZxyz(67.1494, 83.4866, 35.4940)
Luminance0.8349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF787 #A287F7
analogous
#F7DA87 #DCF787 #A4F787
triadic
#DCF787 #87DCF7 #F787DC
tetradic
#DCF787 #87F7DA #A287F7 #F787A4
square
#DCF787 #87F7DA #A287F7 #F787A4
split-complementary
#DCF787 #87A4F7 #DA87F7
monochromatic
#BBEF14 #CBF34E #DCF787 #EDFBC0 #F7FDE2

Accessibility & contrast

On white

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

On black

17.70
#DCF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF787
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF787#FFFFFF#000000##000000
##DCF7871.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FFEC8D
Tritanopia (blue-blind)
#E5EDDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dcf787;
/* rgb */ color: rgb(220, 247, 135);
/* oklch */ color: oklch(93.3% 0.141 120.3);
Tailwind
colors: {
  custom: {
    50: '#e8f9ac',
    500: '#dcf787',
    950: '#000000',
  },
}
SCSS
$custom: #dcf787;
$custom-light: #e8f9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf787",
  "rgb": {
    "r": 220,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 74.464,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93273,
    "c": 0.14112,
    "h": 120.3
  },
  "luminance": 0.83486
}

Semantic roles & 50–950 ramp

primary
#DCF787
secondary
#6E4ED4
accent
#01E438
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DCF787

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

Preview Lab → · Contrast checker → · Palette generator →

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