#D2EC5E#D2EC5E

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

Color values

HEX#D2EC5E
RGBrgb(210, 236, 94)
HSLhsl(71, 79%, 65%)
HSVhsv(71, 60%, 93%)
CMYKcmyk(11%, 0%, 60.2%, 7.5%)
CIE-LABlab(89.16, -27.73, 64.16)
CIE-LCHlch(89.16, 69.90, 113.37°)
OKLaboklab(89.7% -0.0807 0.1474)
OKLCHoklch(89.7% 0.168 118.7)
XYZxyz(58.5951, 74.5011, 21.8808)
Luminance0.7450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC5E #785EEC
analogous
#ECBF5E #D2EC5E #8BEC5E
triadic
#D2EC5E #5ED2EC #EC5ED2
tetradic
#D2EC5E #5EECBF #785EEC #EC5E8B
square
#D2EC5E #5EECBF #785EEC #EC5E8B
split-complementary
#D2EC5E #5E8BEC #BF5EEC
monochromatic
#9CBA16 #C3E627 #D2EC5E #E1F295 #F1F9CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2EC5E#FFFFFF#000000##000000
##D2EC5E1.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)
#FAE04D
Deuteranopia (green-blind)
#F7E167
Tritanopia (blue-blind)
#DDE0CE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ec5e;
/* rgb */ color: rgb(210, 236, 94);
/* oklch */ color: oklch(89.7% 0.168 118.7);
Tailwind
colors: {
  custom: {
    50: '#e3f291',
    500: '#d2ec5e',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec5e;
$custom-light: #e3f291;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec5e",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 94
  },
  "hsl": {
    "h": 70.986,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89699,
    "c": 0.16806,
    "h": 118.7
  },
  "luminance": 0.74501
}

Semantic roles & 50–950 ramp

primary
#D2EC5E
secondary
#4D35B9
accent
#0ADB31
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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