#D2E581#D2E581

#D2E581 is a very light, vivid yellow-green. Relative luminance 0.713; OKLCH L 88.6% C 0.127 H 117.9°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#D2E581
RGBrgb(210, 229, 129)
HSLhsl(71, 66%, 70%)
HSVhsv(71, 44%, 90%)
CMYKcmyk(8.3%, 0%, 43.7%, 10.2%)
CIE-LABlab(87.64, -21.28, 46.49)
CIE-LCHlch(87.64, 51.13, 114.59°)
OKLaboklab(88.6% -0.0594 0.1122)
OKLCHoklch(88.6% 0.127 117.9)
XYZxyz(58.5605, 71.3256, 31.4468)
Luminance0.7133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E581 #9481E5
analogous
#E5C681 #D2E581 #A0E581
triadic
#D2E581 #81D2E5 #E581D2
tetradic
#D2E581 #81E5C6 #9481E5 #E581A0
square
#D2E581 #81E5C6 #9481E5 #E581A0
split-complementary
#D2E581 #81A0E5 #C681E5
monochromatic
#A6C328 #C0DB4E #D2E581 #E4EFB4 #F6FAE6

Accessibility & contrast

On white

1.38
#D2E581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#D2E581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E581
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E581#FFFFFF#000000##000000
##D2E5811.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB79
Deuteranopia (green-blind)
#EFDC86
Tritanopia (blue-blind)
#DBDBCD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d2e581;
/* rgb */ color: rgb(210, 229, 129);
/* oklch */ color: oklch(88.6% 0.127 117.9);
Tailwind
colors: {
  custom: {
    50: '#e1eda7',
    500: '#d2e581',
    950: '#000000',
  },
}
SCSS
$custom: #d2e581;
$custom-light: #e1eda7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e581",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 129
  },
  "hsl": {
    "h": 71.4,
    "s": 65.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88604,
    "c": 0.12694,
    "h": 117.9
  },
  "luminance": 0.71325
}

Semantic roles & 50–950 ramp

primary
#D2E581
secondary
#624DBD
accent
#18CE3A
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#151610
muted
#848480

Preview Lab

Preview with #D2E581

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

Preview Lab → · Contrast checker → · Palette generator →

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