#D2F687#D2F687

#D2F687 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.4% C 0.143 H 123.9°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#D2F687
RGBrgb(210, 246, 135)
HSLhsl(79, 86%, 75%)
HSVhsv(79, 45%, 96%)
CMYKcmyk(14.6%, 0%, 45.1%, 3.5%)
CIE-LABlab(92.29, -28.75, 49.38)
CIE-LCHlch(92.29, 57.13, 120.21°)
OKLaboklab(92.36% -0.08 0.119)
OKLCHoklch(92.36% 0.143 123.9)
XYZxyz(63.9072, 81.3621, 35.2546)
Luminance0.8136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F687 #AB87F6
analogous
#F6E287 #D2F687 #9BF687
triadic
#D2F687 #87D2F6 #F687D2
tetradic
#D2F687 #87F6E2 #AB87F6 #F6879B
square
#D2F687 #87F6E2 #AB87F6 #F6879B
split-complementary
#D2F687 #879BF6 #E287F6
monochromatic
#A7ED15 #BDF24E #D2F687 #E7FAC0 #F4FDE3

Accessibility & contrast

On white

1.22
#D2F687 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#D2F687 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F687
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F687#FFFFFF#000000##000000
##D2F6871.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7E
Deuteranopia (green-blind)
#FCE98D
Tritanopia (blue-blind)
#D9EDDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d2f687;
/* rgb */ color: rgb(210, 246, 135);
/* oklch */ color: oklch(92.4% 0.143 123.9);
Tailwind
colors: {
  custom: {
    50: '#e1f9ac',
    500: '#d2f687',
    950: '#000000',
  },
}
SCSS
$custom: #d2f687;
$custom-light: #e1f9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f687",
  "rgb": {
    "r": 210,
    "g": 246,
    "b": 135
  },
  "hsl": {
    "h": 79.459,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92355,
    "c": 0.14338,
    "h": 123.9
  },
  "luminance": 0.81362
}

Semantic roles & 50–950 ramp

primary
#D2F687
secondary
#794ED3
accent
#03E34B
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #D2F687

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

Preview Lab → · Contrast checker → · Palette generator →

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