#D2E781#D2E781

#D2E781 is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 89.0% C 0.130 H 118.7°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#D2E781
RGBrgb(210, 231, 129)
HSLhsl(72, 68%, 71%)
HSVhsv(72, 44%, 91%)
CMYKcmyk(9.1%, 0%, 44.2%, 9.4%)
CIE-LABlab(88.18, -22.25, 47.16)
CIE-LCHlch(88.18, 52.14, 115.25°)
OKLaboklab(89.03% -0.0621 0.1137)
OKLCHoklch(89.03% 0.13 118.7)
XYZxyz(59.1171, 72.4388, 31.6324)
Luminance0.7244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E781 #9681E7
analogous
#E7C981 #D2E781 #9FE781
triadic
#D2E781 #81D2E7 #E781D2
tetradic
#D2E781 #81E7C9 #9681E7 #E7819F
square
#D2E781 #81E7C9 #9681E7 #E7819F
split-complementary
#D2E781 #819FE7 #C981E7
monochromatic
#A6C826 #C0DD4E #D2E781 #E4F1B4 #F6FAE5

Accessibility & contrast

On white

1.36
#D2E781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#D2E781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E781
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E781#FFFFFF#000000##000000
##D2E7811.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD79
Deuteranopia (green-blind)
#F0DE86
Tritanopia (blue-blind)
#DBDDCF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d2e781;
/* rgb */ color: rgb(210, 231, 129);
/* oklch */ color: oklch(89.0% 0.130 118.7);
Tailwind
colors: {
  custom: {
    50: '#e1eea7',
    500: '#d2e781',
    950: '#000000',
  },
}
SCSS
$custom: #d2e781;
$custom-light: #e1eea7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e781",
  "rgb": {
    "r": 210,
    "g": 231,
    "b": 129
  },
  "hsl": {
    "h": 72.353,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89033,
    "c": 0.12954,
    "h": 118.7
  },
  "luminance": 0.72438
}

Semantic roles & 50–950 ramp

primary
#D2E781
secondary
#644DC0
accent
#16D03C
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151610
muted
#848580

Preview Lab

Preview with #D2E781

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

Preview Lab → · Contrast checker → · Palette generator →

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