#D2F787#D2F787

#D2F787 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.6% C 0.145 H 124.2°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#D2F787
RGBrgb(210, 247, 135)
HSLhsl(80, 88%, 75%)
HSVhsv(80, 45%, 97%)
CMYKcmyk(15%, 0%, 45.3%, 3.1%)
CIE-LABlab(92.56, -29.21, 49.71)
CIE-LCHlch(92.56, 57.66, 120.44°)
OKLaboklab(92.57% -0.0813 0.1197)
OKLCHoklch(92.57% 0.145 124.2)
XYZxyz(64.2122, 81.9721, 35.3563)
Luminance0.8197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F787 #AC87F7
analogous
#F7E487 #D2F787 #9AF787
triadic
#D2F787 #87D2F7 #F787D2
tetradic
#D2F787 #87F7E4 #AC87F7 #F7879A
square
#D2F787 #87F7E4 #AC87F7 #F7879A
split-complementary
#D2F787 #879AF7 #E487F7
monochromatic
#A7EF14 #BCF34E #D2F787 #E8FBC0 #F4FDE2

Accessibility & contrast

On white

1.21
#D2F787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#D2F787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F787
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F787#FFFFFF#000000##000000
##D2F7871.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7E
Deuteranopia (green-blind)
#FDE98D
Tritanopia (blue-blind)
#D9EEDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d2f787;
/* rgb */ color: rgb(210, 247, 135);
/* oklch */ color: oklch(92.6% 0.145 124.2);
Tailwind
colors: {
  custom: {
    50: '#e1faac',
    500: '#d2f787',
    950: '#000000',
  },
}
SCSS
$custom: #d2f787;
$custom-light: #e1faac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f787",
  "rgb": {
    "r": 210,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 79.821,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92572,
    "c": 0.14473,
    "h": 124.2
  },
  "luminance": 0.81972
}

Semantic roles & 50–950 ramp

primary
#D2F787
secondary
#7A4ED4
accent
#01E44C
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #D2F787

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

Preview Lab → · Contrast checker → · Palette generator →

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