#D2FC87#D2FC87

#D2FC87 is a very light, vivid yellow-green. Relative luminance 0.851; OKLCH L 93.7% C 0.151 H 125.4°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#D2FC87
RGBrgb(210, 252, 135)
HSLhsl(82, 95%, 76%)
HSVhsv(82, 46%, 99%)
CMYKcmyk(16.7%, 0%, 46.4%, 1.2%)
CIE-LABlab(93.91, -31.54, 51.37)
CIE-LCHlch(93.91, 60.28, 121.54°)
OKLaboklab(93.66% -0.0878 0.1234)
OKLCHoklch(93.66% 0.152 125.4)
XYZxyz(65.7617, 85.0712, 35.8728)
Luminance0.8507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FC87 #B187FC
analogous
#FCEB87 #D2FC87 #97FC87
triadic
#D2FC87 #87D2FC #FC87D2
tetradic
#D2FC87 #87FCEB #B187FC #FC8797
square
#D2FC87 #87FCEB #B187FC #FC8797
split-complementary
#D2FC87 #8797FC #EB87FC
monochromatic
#A5F910 #BCFB4B #D2FC87 #E8FDC3 #F4FEE1

Accessibility & contrast

On white

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

On black

18.01
#D2FC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FC87
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FC87#FFFFFF#000000##000000
##D2FC871.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7D
Deuteranopia (green-blind)
#FFED8E
Tritanopia (blue-blind)
#D9F2E1
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d2fc87;
/* rgb */ color: rgb(210, 252, 135);
/* oklch */ color: oklch(93.7% 0.151 125.4);
Tailwind
colors: {
  custom: {
    50: '#e1fdac',
    500: '#d2fc87',
    950: '#000000',
  },
}
SCSS
$custom: #d2fc87;
$custom-light: #e1fdac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fc87",
  "rgb": {
    "r": 210,
    "g": 252,
    "b": 135
  },
  "hsl": {
    "h": 81.538,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.93658,
    "c": 0.1515,
    "h": 125.4
  },
  "luminance": 0.85072
}

Semantic roles & 50–950 ramp

primary
#D2FC87
secondary
#7F4CDB
accent
#00E652
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #D2FC87

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

Preview Lab → · Contrast checker → · Palette generator →

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