#D2E772#D2E772

#D2E772 is a very light, vivid yellow-green. Relative luminance 0.721; OKLCH L 88.8% C 0.145 H 117.9°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#D2E772
RGBrgb(210, 231, 114)
HSLhsl(71, 71%, 68%)
HSVhsv(71, 51%, 91%)
CMYKcmyk(9.1%, 0%, 50.6%, 9.4%)
CIE-LABlab(88.00, -23.72, 54.03)
CIE-LCHlch(88.00, 59.01, 113.70°)
OKLaboklab(88.83% -0.0675 0.1278)
OKLCHoklch(88.83% 0.145 117.9)
XYZxyz(58.1922, 72.0688, 26.7614)
Luminance0.7207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E772 #8772E7
analogous
#E7C172 #D2E772 #98E772
triadic
#D2E772 #72D2E7 #E772D2
tetradic
#D2E772 #72E7C1 #8772E7 #E77298
square
#D2E772 #72E7C1 #8772E7 #E77298
split-complementary
#D2E772 #7298E7 #C172E7
monochromatic
#A2BE20 #C1DE3E #D2E772 #E3F0A6 #F3F9DB

Accessibility & contrast

On white

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

On black

15.41
#D2E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E772
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E772#FFFFFF#000000##000000
##D2E7721.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC67
Deuteranopia (green-blind)
#F2DD79
Tritanopia (blue-blind)
#DCDCCC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d2e772;
/* rgb */ color: rgb(210, 231, 114);
/* oklch */ color: oklch(88.8% 0.145 117.9);
Tailwind
colors: {
  custom: {
    50: '#e2ee9d',
    500: '#d2e772',
    950: '#000000',
  },
}
SCSS
$custom: #d2e772;
$custom-light: #e2ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e772",
  "rgb": {
    "r": 210,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 70.769,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88833,
    "c": 0.14451,
    "h": 117.9
  },
  "luminance": 0.72068
}

Semantic roles & 50–950 ramp

primary
#D2E772
secondary
#5640BD
accent
#13D335
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D2E772

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

Preview Lab → · Contrast checker → · Palette generator →

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