#D2F987#D2F987

#D2F987 is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 93.0% C 0.147 H 124.7°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#D2F987
RGBrgb(210, 249, 135)
HSLhsl(81, 90%, 75%)
HSVhsv(81, 46%, 98%)
CMYKcmyk(15.7%, 0%, 45.8%, 2.4%)
CIE-LABlab(93.10, -30.15, 50.38)
CIE-LCHlch(93.10, 58.71, 120.90°)
OKLaboklab(93.01% -0.0839 0.1212)
OKLCHoklch(93.01% 0.147 124.7)
XYZxyz(64.8271, 83.2018, 35.5612)
Luminance0.8320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F987 #AE87F9
analogous
#F9E787 #D2F987 #99F987
triadic
#D2F987 #87D2F9 #F987D2
tetradic
#D2F987 #87F9E7 #AE87F9 #F98799
square
#D2F987 #87F9E7 #AE87F9 #F98799
split-complementary
#D2F987 #8799F9 #E787F9
monochromatic
#A6F312 #BCF64D #D2F987 #E8FCC1 #F4FEE2

Accessibility & contrast

On white

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

On black

17.64
#D2F987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F987
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F987#FFFFFF#000000##000000
##D2F9871.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7D
Deuteranopia (green-blind)
#FFEB8D
Tritanopia (blue-blind)
#D9EFDE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d2f987;
/* rgb */ color: rgb(210, 249, 135);
/* oklch */ color: oklch(93.0% 0.147 124.7);
Tailwind
colors: {
  custom: {
    50: '#e1fbac',
    500: '#d2f987',
    950: '#000000',
  },
}
SCSS
$custom: #d2f987;
$custom-light: #e1fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f987",
  "rgb": {
    "r": 210,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 80.526,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93006,
    "c": 0.14745,
    "h": 124.7
  },
  "luminance": 0.83202
}

Semantic roles & 50–950 ramp

primary
#D2F987
secondary
#7C4DD7
accent
#00E64F
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #D2F987

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

Preview Lab → · Contrast checker → · Palette generator →

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