#D2E786#D2E786

#D2E786 is a very light, vivid yellow-green. Relative luminance 0.726; OKLCH L 89.1% C 0.124 H 119.0°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#D2E786
RGBrgb(210, 231, 134)
HSLhsl(73, 67%, 72%)
HSVhsv(73, 42%, 91%)
CMYKcmyk(9.1%, 0%, 42%, 9.4%)
CIE-LABlab(88.24, -21.71, 44.81)
CIE-LCHlch(88.24, 49.80, 115.85°)
OKLaboklab(89.11% -0.0602 0.1087)
OKLCHoklch(89.11% 0.124 119)
XYZxyz(59.4576, 72.5750, 33.4257)
Luminance0.7258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E786 #9B86E7
analogous
#E7CC86 #D2E786 #A2E786
triadic
#D2E786 #86D2E7 #E786D2
tetradic
#D2E786 #86E7CC #9B86E7 #E786A2
square
#D2E786 #86E7CC #9B86E7 #E786A2
split-complementary
#D2E786 #86A2E7 #CC86E7
monochromatic
#A7CA28 #BFDD53 #D2E786 #E5F1B9 #F6FAE5

Accessibility & contrast

On white

1.35
#D2E786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#D2E786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E786
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E786#FFFFFF#000000##000000
##D2E7861.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7E
Deuteranopia (green-blind)
#F0DE8B
Tritanopia (blue-blind)
#DBDED0
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d2e786;
/* rgb */ color: rgb(210, 231, 134);
/* oklch */ color: oklch(89.1% 0.124 119.0);
Tailwind
colors: {
  custom: {
    50: '#e1eeab',
    500: '#d2e786',
    950: '#000000',
  },
}
SCSS
$custom: #d2e786;
$custom-light: #e1eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e786",
  "rgb": {
    "r": 210,
    "g": 231,
    "b": 134
  },
  "hsl": {
    "h": 72.99,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89107,
    "c": 0.12426,
    "h": 119
  },
  "luminance": 0.72575
}

Semantic roles & 50–950 ramp

primary
#D2E786
secondary
#6951C0
accent
#17CF3F
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #D2E786

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

Preview Lab → · Contrast checker → · Palette generator →

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