#D2EC5B#D2EC5B

#D2EC5B is a very light, vivid yellow-green. Relative luminance 0.744; OKLCH L 89.7% C 0.170 H 118.6°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#D2EC5B
RGBrgb(210, 236, 91)
HSLhsl(71, 79%, 64%)
HSVhsv(71, 61%, 93%)
CMYKcmyk(11%, 0%, 61.4%, 7.5%)
CIE-LABlab(89.13, -27.94, 65.37)
CIE-LCHlch(89.13, 71.09, 113.14°)
OKLaboklab(89.67% -0.0816 0.1496)
OKLCHoklch(89.67% 0.17 118.6)
XYZxyz(58.4631, 74.4483, 21.1856)
Luminance0.7445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC5B #755BEC
analogous
#ECBE5B #D2EC5B #8AEC5B
triadic
#D2EC5B #5BD2EC #EC5BD2
tetradic
#D2EC5B #5BECBE #755BEC #EC5B8A
square
#D2EC5B #5BECBE #755BEC #EC5B8A
split-complementary
#D2EC5B #5B8AEC #BE5BEC
monochromatic
#9AB715 #C3E624 #D2EC5B #E1F292 #F0F9C9

Accessibility & contrast

On white

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

On black

15.89
#D2EC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC5B
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC5B#FFFFFF#000000##000000
##D2EC5B1.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ec5b;
/* rgb */ color: rgb(210, 236, 91);
/* oklch */ color: oklch(89.7% 0.170 118.6);
Tailwind
colors: {
  custom: {
    50: '#e3f28f',
    500: '#d2ec5b',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec5b;
$custom-light: #e3f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec5b",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 70.759,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89671,
    "c": 0.17041,
    "h": 118.6
  },
  "luminance": 0.74448
}

Semantic roles & 50–950 ramp

primary
#D2EC5B
secondary
#4C34B7
accent
#0ADC30
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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