#D2EC59#D2EC59

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

Color values

HEX#D2EC59
RGBrgb(210, 236, 89)
HSLhsl(71, 79%, 64%)
HSVhsv(71, 62%, 93%)
CMYKcmyk(11%, 0%, 62.3%, 7.5%)
CIE-LABlab(89.12, -28.08, 66.17)
CIE-LCHlch(89.12, 71.88, 112.99°)
OKLaboklab(89.65% -0.0821 0.151)
OKLCHoklch(89.65% 0.172 118.5)
XYZxyz(58.3780, 74.4143, 20.7373)
Luminance0.7441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC59 #7359EC
analogous
#ECBC59 #D2EC59 #88EC59
triadic
#D2EC59 #59D2EC #EC59D2
tetradic
#D2EC59 #59ECBC #7359EC #EC5988
square
#D2EC59 #59ECBC #7359EC #EC5988
split-complementary
#D2EC59 #5988EC #BC59EC
monochromatic
#99B615 #C3E622 #D2EC59 #E1F290 #F0F9C7

Accessibility & contrast

On white

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

On black

15.88
#D2EC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC59
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC59#FFFFFF#000000##000000
##D2EC591.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE047
Deuteranopia (green-blind)
#F8E163
Tritanopia (blue-blind)
#DEE0CD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ec59;
/* rgb */ color: rgb(210, 236, 89);
/* oklch */ color: oklch(89.7% 0.172 118.5);
Tailwind
colors: {
  custom: {
    50: '#e3f28e',
    500: '#d2ec59',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec59;
$custom-light: #e3f28e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec59",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 89
  },
  "hsl": {
    "h": 70.612,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89653,
    "c": 0.17193,
    "h": 118.5
  },
  "luminance": 0.74414
}

Semantic roles & 50–950 ramp

primary
#D2EC59
secondary
#4B34B5
accent
#0ADC2F
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EC59

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

Preview Lab → · Contrast checker → · Palette generator →

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