#D2EC5A#D2EC5A

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

Color values

HEX#D2EC5A
RGBrgb(210, 236, 90)
HSLhsl(71, 79%, 64%)
HSVhsv(71, 62%, 93%)
CMYKcmyk(11%, 0%, 61.9%, 7.5%)
CIE-LABlab(89.13, -28.01, 65.77)
CIE-LCHlch(89.13, 71.49, 113.07°)
OKLaboklab(89.66% -0.0819 0.1503)
OKLCHoklch(89.66% 0.171 118.6)
XYZxyz(58.4202, 74.4312, 20.9599)
Luminance0.7443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC5A #745AEC
analogous
#ECBD5A #D2EC5A #89EC5A
triadic
#D2EC5A #5AD2EC #EC5AD2
tetradic
#D2EC5A #5AECBD #745AEC #EC5A89
square
#D2EC5A #5AECBD #745AEC #EC5A89
split-complementary
#D2EC5A #5A89EC #BD5AEC
monochromatic
#9AB715 #C3E623 #D2EC5A #E1F291 #F0F9C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2EC5A#FFFFFF#000000##000000
##D2EC5A1.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)
#FAE048
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#DDE0CE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ec5a;
/* rgb */ color: rgb(210, 236, 90);
/* oklch */ color: oklch(89.7% 0.171 118.6);
Tailwind
colors: {
  custom: {
    50: '#e3f28f',
    500: '#d2ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec5a;
$custom-light: #e3f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec5a",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 70.685,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89662,
    "c": 0.17117,
    "h": 118.6
  },
  "luminance": 0.74431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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