#DCF987#DCF987

#DCF987 is a very light, vivid yellow-green. Relative luminance 0.847; OKLCH L 93.7% C 0.144 H 121.0°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#DCF987
RGBrgb(220, 249, 135)
HSLhsl(75, 90%, 75%)
HSVhsv(75, 46%, 98%)
CMYKcmyk(11.6%, 0%, 45.8%, 2.4%)
CIE-LABlab(93.76, -26.43, 51.33)
CIE-LCHlch(93.76, 57.74, 117.25°)
OKLaboklab(93.7% -0.0739 0.1233)
OKLCHoklch(93.7% 0.144 121)
XYZxyz(67.7643, 84.7164, 35.6989)
Luminance0.8472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF987 #A487F9
analogous
#F9DD87 #DCF987 #A3F987
triadic
#DCF987 #87DCF9 #F987DC
tetradic
#DCF987 #87F9DD #A487F9 #F987A3
square
#DCF987 #87F9DD #A487F9 #F987A3
split-complementary
#DCF987 #87A3F9 #DD87F9
monochromatic
#BAF312 #CBF64D #DCF987 #EDFCC1 #F7FEE2

Accessibility & contrast

On white

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

On black

17.94
#DCF987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF987
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF987#FFFFFF#000000##000000
##DCF9871.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7D
Deuteranopia (green-blind)
#FFED8D
Tritanopia (blue-blind)
#E5EFDE
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dcf987;
/* rgb */ color: rgb(220, 249, 135);
/* oklch */ color: oklch(93.7% 0.144 121.0);
Tailwind
colors: {
  custom: {
    50: '#e8fbac',
    500: '#dcf987',
    950: '#000000',
  },
}
SCSS
$custom: #dcf987;
$custom-light: #e8fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf987",
  "rgb": {
    "r": 220,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 75.263,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93701,
    "c": 0.14374,
    "h": 121
  },
  "luminance": 0.84716
}

Semantic roles & 50–950 ramp

primary
#DCF987
secondary
#704DD7
accent
#00E63A
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DCF987

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

Preview Lab → · Contrast checker → · Palette generator →

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