#D2EC99#D2EC99

#D2EC99 is a very light, moderate yellow-green. Relative luminance 0.760; OKLCH L 90.5% C 0.110 H 122.8°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#D2EC99
RGBrgb(210, 236, 153)
HSLhsl(79, 69%, 76%)
HSVhsv(79, 35%, 93%)
CMYKcmyk(11%, 0%, 35.2%, 7.5%)
CIE-LABlab(89.86, -21.89, 37.48)
CIE-LCHlch(89.86, 43.41, 120.29°)
OKLaboklab(90.48% -0.0596 0.0927)
OKLCHoklch(90.48% 0.11 122.8)
XYZxyz(62.3232, 75.9923, 41.5155)
Luminance0.7599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC99 #B399EC
analogous
#ECDD99 #D2EC99 #A9EC99
triadic
#D2EC99 #99D2EC #EC99D2
tetradic
#D2EC99 #99ECDD #B399EC #EC99A9
square
#D2EC99 #99ECDD #B399EC #EC99A9
split-complementary
#D2EC99 #99A9EC #DD99EC
monochromatic
#A4D932 #BBE265 #D2EC99 #E9F6CD #F4FAE5

Accessibility & contrast

On white

1.30
#D2EC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#D2EC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC99
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC99#FFFFFF#000000##000000
##D2EC991.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E393
Deuteranopia (green-blind)
#F2E29D
Tritanopia (blue-blind)
#D8E4D7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d2ec99;
/* rgb */ color: rgb(210, 236, 153);
/* oklch */ color: oklch(90.5% 0.110 122.8);
Tailwind
colors: {
  custom: {
    50: '#e0f2b8',
    500: '#d2ec99',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec99;
$custom-light: #e0f2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec99",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 153
  },
  "hsl": {
    "h": 78.795,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.90484,
    "c": 0.11023,
    "h": 122.8
  },
  "luminance": 0.75992
}

Semantic roles & 50–950 ramp

primary
#D2EC99
secondary
#8262C8
accent
#15D150
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #D2EC99

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

Preview Lab → · Contrast checker → · Palette generator →

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