#D2EC71#D2EC71

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

Color values

HEX#D2EC71
RGBrgb(210, 236, 113)
HSLhsl(73, 76%, 68%)
HSVhsv(73, 52%, 93%)
CMYKcmyk(11%, 0%, 52.1%, 7.5%)
CIE-LABlab(89.34, -26.19, 56.07)
CIE-LCHlch(89.34, 61.88, 115.04°)
OKLaboklab(89.9% -0.0746 0.1321)
OKLCHoklch(89.9% 0.152 119.5)
XYZxyz(59.5550, 74.8851, 26.9364)
Luminance0.7489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC71 #8B71EC
analogous
#ECC871 #D2EC71 #94EC71
triadic
#D2EC71 #71D2EC #EC71D2
tetradic
#D2EC71 #71ECC8 #8B71EC #EC7194
square
#D2EC71 #71ECC8 #8B71EC #EC7194
split-complementary
#D2EC71 #7194EC #C871EC
monochromatic
#A3C81B #C1E53B #D2EC71 #E3F3A7 #F4FADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2EC71#FFFFFF#000000##000000
##D2EC711.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)
#F9E165
Deuteranopia (green-blind)
#F6E178
Tritanopia (blue-blind)
#DCE1D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ec71;
/* rgb */ color: rgb(210, 236, 113);
/* oklch */ color: oklch(89.9% 0.152 119.5);
Tailwind
colors: {
  custom: {
    50: '#e2f29d',
    500: '#d2ec71',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec71;
$custom-light: #e2f29d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec71",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 72.683,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89902,
    "c": 0.15171,
    "h": 119.5
  },
  "luminance": 0.74885
}

Semantic roles & 50–950 ramp

primary
#D2EC71
secondary
#5A3DC4
accent
#0DD938
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D2EC71

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

Preview Lab → · Contrast checker → · Palette generator →

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