#D2EC72#D2EC72

#D2EC72 is a very light, vivid yellow-green. Relative luminance 0.749; OKLCH L 89.9% C 0.151 H 119.5°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#D2EC72
RGBrgb(210, 236, 114)
HSLhsl(73, 76%, 69%)
HSVhsv(73, 52%, 93%)
CMYKcmyk(11%, 0%, 51.7%, 7.5%)
CIE-LABlab(89.35, -26.10, 55.62)
CIE-LCHlch(89.35, 61.44, 115.14°)
OKLaboklab(89.91% -0.0743 0.1312)
OKLCHoklch(89.91% 0.151 119.5)
XYZxyz(59.6116, 74.9077, 27.2346)
Luminance0.7491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC72 #8C72EC
analogous
#ECC972 #D2EC72 #95EC72
triadic
#D2EC72 #72D2EC #EC72D2
tetradic
#D2EC72 #72ECC9 #8C72EC #EC7295
square
#D2EC72 #72ECC9 #8C72EC #EC7295
split-complementary
#D2EC72 #7295EC #C972EC
monochromatic
#A4C91B #C1E53C #D2EC72 #E3F3A8 #F4FBDE

Accessibility & contrast

On white

1.31
#D2EC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#D2EC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC72
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC72#FFFFFF#000000##000000
##D2EC721.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E166
Deuteranopia (green-blind)
#F6E179
Tritanopia (blue-blind)
#DCE1D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ec72;
/* rgb */ color: rgb(210, 236, 114);
/* oklch */ color: oklch(89.9% 0.151 119.5);
Tailwind
colors: {
  custom: {
    50: '#e2f29e',
    500: '#d2ec72',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec72;
$custom-light: #e2f29e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec72",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 114
  },
  "hsl": {
    "h": 72.787,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.89914,
    "c": 0.15077,
    "h": 119.5
  },
  "luminance": 0.74907
}

Semantic roles & 50–950 ramp

primary
#D2EC72
secondary
#5B3EC4
accent
#0DD838
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D2EC72

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

Preview Lab → · Contrast checker → · Palette generator →

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