#D8EC99#D8EC99

#D8EC99 is a very light, moderate yellow-green. Relative luminance 0.769; OKLCH L 90.9% C 0.108 H 119.6°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#D8EC99
RGBrgb(216, 236, 153)
HSLhsl(74, 69%, 76%)
HSVhsv(74, 35%, 93%)
CMYKcmyk(8.5%, 0%, 35.2%, 7.5%)
CIE-LABlab(90.27, -19.67, 38.10)
CIE-LCHlch(90.27, 42.88, 117.31°)
OKLaboklab(90.92% -0.0535 0.0941)
OKLCHoklch(90.92% 0.108 119.6)
XYZxyz(64.0640, 76.8899, 41.5971)
Luminance0.7689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC99 #AD99EC
analogous
#ECD799 #D8EC99 #AFEC99
triadic
#D8EC99 #99D8EC #EC99D8
tetradic
#D8EC99 #99ECD7 #AD99EC #EC99AF
square
#D8EC99 #99ECD7 #AD99EC #EC99AF
split-complementary
#D8EC99 #99AFEC #D799EC
monochromatic
#B1D932 #C4E265 #D8EC99 #ECF6CD #F5FAE5

Accessibility & contrast

On white

1.28
#D8EC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#D8EC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EC99
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EC99#FFFFFF#000000##000000
##D8EC991.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E393
Deuteranopia (green-blind)
#F4E39D
Tritanopia (blue-blind)
#DFE4D7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d8ec99;
/* rgb */ color: rgb(216, 236, 153);
/* oklch */ color: oklch(90.9% 0.108 119.6);
Tailwind
colors: {
  custom: {
    50: '#e5f2b8',
    500: '#d8ec99',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec99;
$custom-light: #e5f2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec99",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 153
  },
  "hsl": {
    "h": 74.458,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.9092,
    "c": 0.10828,
    "h": 119.6
  },
  "luminance": 0.7689
}

Semantic roles & 50–950 ramp

primary
#D8EC99
secondary
#7A62C8
accent
#15D142
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #D8EC99

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

Preview Lab → · Contrast checker → · Palette generator →

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