#D1EC8A#D1EC8A

#D1EC8A is a very light, vivid yellow-green. Relative luminance 0.754; OKLCH L 90.2% C 0.127 H 121.6°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#D1EC8A
RGBrgb(209, 236, 138)
HSLhsl(77, 72%, 73%)
HSVhsv(77, 42%, 93%)
CMYKcmyk(11.4%, 0%, 41.5%, 7.5%)
CIE-LABlab(89.57, -24.05, 44.52)
CIE-LCHlch(89.57, 50.60, 118.38°)
OKLaboklab(90.17% -0.0665 0.1082)
OKLCHoklch(90.17% 0.127 121.6)
XYZxyz(60.8774, 75.3812, 35.3827)
Luminance0.7538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EC8A #A58AEC
analogous
#ECD68A #D1EC8A #A0EC8A
triadic
#D1EC8A #8AD1EC #EC8AD1
tetradic
#D1EC8A #8AECD6 #A58AEC #EC8AA0
square
#D1EC8A #8AECD6 #A58AEC #EC8AA0
split-complementary
#D1EC8A #8AA0EC #D68AEC
monochromatic
#A6D823 #BCE355 #D1EC8A #E6F5BF #F5FBE5

Accessibility & contrast

On white

1.31
#D1EC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#D1EC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EC8A
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EC8A#FFFFFF#000000##000000
##D1EC8A1.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E282
Deuteranopia (green-blind)
#F3E18F
Tritanopia (blue-blind)
#D9E3D4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d1ec8a;
/* rgb */ color: rgb(209, 236, 138);
/* oklch */ color: oklch(90.2% 0.127 121.6);
Tailwind
colors: {
  custom: {
    50: '#e0f2ad',
    500: '#d1ec8a',
    950: '#000000',
  },
}
SCSS
$custom: #d1ec8a;
$custom-light: #e0f2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ec8a",
  "rgb": {
    "r": 209,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 76.531,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90168,
    "c": 0.12705,
    "h": 121.6
  },
  "luminance": 0.75381
}

Semantic roles & 50–950 ramp

primary
#D1EC8A
secondary
#7354C7
accent
#11D447
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #D1EC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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