#D1E772#D1E772

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

Color values

HEX#D1E772
RGBrgb(209, 231, 114)
HSLhsl(71, 71%, 68%)
HSVhsv(71, 51%, 91%)
CMYKcmyk(9.5%, 0%, 50.6%, 9.4%)
CIE-LABlab(87.93, -24.10, 53.93)
CIE-LCHlch(87.93, 59.07, 114.08°)
OKLaboklab(88.76% -0.0686 0.1276)
OKLCHoklch(88.76% 0.145 118.3)
XYZxyz(57.9083, 71.9225, 26.7481)
Luminance0.7192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E772 #8872E7
analogous
#E7C272 #D1E772 #96E772
triadic
#D1E772 #72D1E7 #E772D1
tetradic
#D1E772 #72E7C2 #8872E7 #E77296
square
#D1E772 #72E7C2 #8872E7 #E77296
split-complementary
#D1E772 #7296E7 #C272E7
monochromatic
#A1BE20 #C0DE3E #D1E772 #E2F0A6 #F3F9DB

Accessibility & contrast

On white

1.37
#D1E772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#D1E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E772
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E772#FFFFFF#000000##000000
##D1E7721.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC67
Deuteranopia (green-blind)
#F1DD79
Tritanopia (blue-blind)
#DBDCCC
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d1e772;
/* rgb */ color: rgb(209, 231, 114);
/* oklch */ color: oklch(88.8% 0.145 118.3);
Tailwind
colors: {
  custom: {
    50: '#e1ee9d',
    500: '#d1e772',
    950: '#000000',
  },
}
SCSS
$custom: #d1e772;
$custom-light: #e1ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e772",
  "rgb": {
    "r": 209,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 71.282,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88759,
    "c": 0.14482,
    "h": 118.3
  },
  "luminance": 0.71922
}

Semantic roles & 50–950 ramp

primary
#D1E772
secondary
#5740BD
accent
#13D337
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D1E772

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

Preview Lab → · Contrast checker → · Palette generator →

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