#D2FF87#D2FF87

#D2FF87 is a very light, vivid yellow-green. Relative luminance 0.870; OKLCH L 94.3% C 0.156 H 126.1°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#D2FF87
RGBrgb(210, 255, 135)
HSLhsl(83, 100%, 76%)
HSVhsv(83, 47%, 100%)
CMYKcmyk(17.6%, 0%, 47.1%, 0%)
CIE-LABlab(94.73, -32.92, 52.37)
CIE-LCHlch(94.73, 61.85, 122.15°)
OKLaboklab(94.31% -0.0917 0.1256)
OKLCHoklch(94.31% 0.156 126.1)
XYZxyz(66.7112, 86.9702, 36.1893)
Luminance0.8697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FF87 #B487FF
analogous
#FFF087 #D2FF87 #96FF87
triadic
#D2FF87 #87D2FF #FF87D2
tetradic
#D2FF87 #87FFF0 #B487FF #FF8796
square
#D2FF87 #87FFF0 #B487FF #FF8796
split-complementary
#D2FF87 #8796FF #F087FF
monochromatic
#A4FF0D #BBFF4A #D2FF87 #E9FFC4 #F4FFE0

Accessibility & contrast

On white

1.14
#D2FF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.39
#D2FF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FF87
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FF87#FFFFFF#000000##000000
##D2FF871.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF27D
Deuteranopia (green-blind)
#FFEF8E
Tritanopia (blue-blind)
#D8F5E3
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #d2ff87;
/* rgb */ color: rgb(210, 255, 135);
/* oklch */ color: oklch(94.3% 0.156 126.1);
Tailwind
colors: {
  custom: {
    50: '#e2ffac',
    500: '#d2ff87',
    950: '#000000',
  },
}
SCSS
$custom: #d2ff87;
$custom-light: #e2ffac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ff87",
  "rgb": {
    "r": 210,
    "g": 255,
    "b": 135
  },
  "hsl": {
    "h": 82.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94311,
    "c": 0.15555,
    "h": 126.1
  },
  "luminance": 0.86971
}

Semantic roles & 50–950 ramp

primary
#D2FF87
secondary
#834BDF
accent
#00E656
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#161810
muted
#848681

Preview Lab

Preview with #D2FF87

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

Preview Lab → · Contrast checker → · Palette generator →

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