#DCFA87#DCFA87

#DCFA87 is a very light, vivid yellow-green. Relative luminance 0.853; OKLCH L 93.9% C 0.145 H 121.3°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#DCFA87
RGBrgb(220, 250, 135)
HSLhsl(76, 92%, 75%)
HSVhsv(76, 46%, 98%)
CMYKcmyk(12%, 0%, 46%, 2%)
CIE-LABlab(94.03, -26.90, 51.66)
CIE-LCHlch(94.03, 58.25, 117.51°)
OKLaboklab(93.92% -0.0753 0.124)
OKLCHoklch(93.92% 0.145 121.3)
XYZxyz(68.0742, 85.3362, 35.8022)
Luminance0.8534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFA87 #A587FA
analogous
#FADE87 #DCFA87 #A2FA87
triadic
#DCFA87 #87DCFA #FA87DC
tetradic
#DCFA87 #87FADE #A587FA #FA87A2
square
#DCFA87 #87FADE #A587FA #FA87A2
split-complementary
#DCFA87 #87A2FA #DE87FA
monochromatic
#BAF511 #CBF84C #DCFA87 #EDFCC2 #F6FEE2

Accessibility & contrast

On white

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

On black

18.07
#DCFA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFA87
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFA87#FFFFFF#000000##000000
##DCFA871.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7D
Deuteranopia (green-blind)
#FFEE8D
Tritanopia (blue-blind)
#E5F0DF
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dcfa87;
/* rgb */ color: rgb(220, 250, 135);
/* oklch */ color: oklch(93.9% 0.145 121.3);
Tailwind
colors: {
  custom: {
    50: '#e8fcac',
    500: '#dcfa87',
    950: '#000000',
  },
}
SCSS
$custom: #dcfa87;
$custom-light: #e8fcac;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfa87",
  "rgb": {
    "r": 220,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 75.652,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93915,
    "c": 0.14505,
    "h": 121.3
  },
  "luminance": 0.85336
}

Semantic roles & 50–950 ramp

primary
#DCFA87
secondary
#714DD8
accent
#00E63C
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DCFA87

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

Preview Lab → · Contrast checker → · Palette generator →

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