#D9EC8A#D9EC8A

#D9EC8A is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.8% C 0.125 H 117.9°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#D9EC8A
RGBrgb(217, 236, 138)
HSLhsl(72, 72%, 73%)
HSVhsv(72, 42%, 93%)
CMYKcmyk(8.1%, 0%, 41.5%, 7.5%)
CIE-LABlab(90.13, -21.04, 45.34)
CIE-LCHlch(90.13, 49.98, 114.89°)
OKLaboklab(90.75% -0.0583 0.11)
OKLCHoklch(90.75% 0.125 117.9)
XYZxyz(63.1985, 76.5780, 35.4915)
Luminance0.7658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9EC8A #9D8AEC
analogous
#ECCE8A #D9EC8A #A8EC8A
triadic
#D9EC8A #8AD9EC #EC8AD9
tetradic
#D9EC8A #8AECCE #9D8AEC #EC8AA8
square
#D9EC8A #8AECCE #9D8AEC #EC8AA8
split-complementary
#D9EC8A #8AA8EC #CE8AEC
monochromatic
#B5D823 #C8E355 #D9EC8A #EAF5BF #F6FBE5

Accessibility & contrast

On white

1.29
#D9EC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#D9EC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9EC8A
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9EC8A#FFFFFF#000000##000000
##D9EC8A1.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E282
Deuteranopia (green-blind)
#F6E38F
Tritanopia (blue-blind)
#E2E2D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d9ec8a;
/* rgb */ color: rgb(217, 236, 138);
/* oklch */ color: oklch(90.8% 0.125 117.9);
Tailwind
colors: {
  custom: {
    50: '#e6f2ad',
    500: '#d9ec8a',
    950: '#000000',
  },
}
SCSS
$custom: #d9ec8a;
$custom-light: #e6f2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ec8a",
  "rgb": {
    "r": 217,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 71.633,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90753,
    "c": 0.12454,
    "h": 117.9
  },
  "luminance": 0.76578
}

Semantic roles & 50–950 ramp

primary
#D9EC8A
secondary
#6A54C7
accent
#11D437
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#161610
muted
#848581

Preview Lab

Preview with #D9EC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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