#D2E381#D2E381

#D2E381 is a very light, vivid yellow-green. Relative luminance 0.702; OKLCH L 88.2% C 0.124 H 117.1°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#D2E381
RGBrgb(210, 227, 129)
HSLhsl(70, 64%, 70%)
HSVhsv(70, 43%, 89%)
CMYKcmyk(7.5%, 0%, 43.2%, 11%)
CIE-LABlab(87.11, -20.30, 45.83)
CIE-LCHlch(87.11, 50.12, 113.90°)
OKLaboklab(88.18% -0.0566 0.1107)
OKLCHoklch(88.18% 0.124 117.1)
XYZxyz(58.0103, 70.2253, 31.2634)
Luminance0.7023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E381 #9281E3
analogous
#E3C381 #D2E381 #A1E381
triadic
#D2E381 #81D2E3 #E381D2
tetradic
#D2E381 #81E3C3 #9281E3 #E381A1
square
#D2E381 #81E3C3 #9281E3 #E381A1
split-complementary
#D2E381 #81A1E3 #C381E3
monochromatic
#A5BF2A #C0D84F #D2E381 #E4EEB3 #F6F9E5

Accessibility & contrast

On white

1.40
#D2E381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#D2E381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E381
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E381#FFFFFF#000000##000000
##D2E3811.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA79
Deuteranopia (green-blind)
#EDDB86
Tritanopia (blue-blind)
#DBD9CC
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e381;
/* rgb */ color: rgb(210, 227, 129);
/* oklch */ color: oklch(88.2% 0.124 117.1);
Tailwind
colors: {
  custom: {
    50: '#e1eba7',
    500: '#d2e381',
    950: '#000000',
  },
}
SCSS
$custom: #d2e381;
$custom-light: #e1eba7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e381",
  "rgb": {
    "r": 210,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 70.408,
    "s": 63.636,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88176,
    "c": 0.12433,
    "h": 117.1
  },
  "luminance": 0.70225
}

Semantic roles & 50–950 ramp

primary
#D2E381
secondary
#604DBB
accent
#1ACB39
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#151610
muted
#848480

Preview Lab

Preview with #D2E381

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

Preview Lab → · Contrast checker → · Palette generator →

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