#D2EC5D#D2EC5D

#D2EC5D is a very light, vivid yellow-green. Relative luminance 0.745; OKLCH L 89.7% C 0.169 H 118.7°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#D2EC5D
RGBrgb(210, 236, 93)
HSLhsl(71, 79%, 65%)
HSVhsv(71, 61%, 93%)
CMYKcmyk(11%, 0%, 60.6%, 7.5%)
CIE-LABlab(89.15, -27.80, 64.57)
CIE-LCHlch(89.15, 70.30, 113.29°)
OKLaboklab(89.69% -0.081 0.1482)
OKLCHoklch(89.69% 0.169 118.7)
XYZxyz(58.5505, 74.4833, 21.6460)
Luminance0.7448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC5D #775DEC
analogous
#ECBF5D #D2EC5D #8BEC5D
triadic
#D2EC5D #5DD2EC #EC5DD2
tetradic
#D2EC5D #5DECBF #775DEC #EC5D8B
square
#D2EC5D #5DECBF #775DEC #EC5D8B
split-complementary
#D2EC5D #5D8BEC #BF5DEC
monochromatic
#9BB916 #C3E626 #D2EC5D #E1F294 #F0F9CB

Accessibility & contrast

On white

1.32
#D2EC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#D2EC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC5D
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC5D#FFFFFF#000000##000000
##D2EC5D1.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE04C
Deuteranopia (green-blind)
#F7E167
Tritanopia (blue-blind)
#DDE0CE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ec5d;
/* rgb */ color: rgb(210, 236, 93);
/* oklch */ color: oklch(89.7% 0.169 118.7);
Tailwind
colors: {
  custom: {
    50: '#e3f290',
    500: '#d2ec5d',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec5d;
$custom-light: #e3f290;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec5d",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 93
  },
  "hsl": {
    "h": 70.909,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8969,
    "c": 0.16885,
    "h": 118.7
  },
  "luminance": 0.74483
}

Semantic roles & 50–950 ramp

primary
#D2EC5D
secondary
#4D35B8
accent
#0ADB30
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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