#D8EB7A#D8EB7A

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

Color values

HEX#D8EB7A
RGBrgb(216, 235, 122)
HSLhsl(70, 74%, 70%)
HSVhsv(70, 48%, 92%)
CMYKcmyk(8.1%, 0%, 48.1%, 7.8%)
CIE-LABlab(89.59, -22.57, 52.31)
CIE-LCHlch(89.59, 56.97, 113.34°)
OKLaboklab(90.24% -0.0639 0.1246)
OKLCHoklch(90.24% 0.14 117.2)
XYZxyz(61.5408, 75.4213, 29.7244)
Luminance0.7542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EB7A #8D7AEB
analogous
#EBC57A #D8EB7A #A0EB7A
triadic
#D8EB7A #7AD8EB #EB7AD8
tetradic
#D8EB7A #7AEBC5 #8D7AEB #EB7AA0
square
#D8EB7A #7AEBC5 #8D7AEB #EB7AA0
split-complementary
#D8EB7A #7AA0EB #C57AEB
monochromatic
#AFCC1F #C8E345 #D8EB7A #E8F3AF #F7FBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8EB7A#FFFFFF#000000##000000
##D8EB7A1.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)
#F8E170
Deuteranopia (green-blind)
#F6E280
Tritanopia (blue-blind)
#E2E0D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d8eb7a;
/* rgb */ color: rgb(216, 235, 122);
/* oklch */ color: oklch(90.2% 0.140 117.2);
Tailwind
colors: {
  custom: {
    50: '#e6f1a3',
    500: '#d8eb7a',
    950: '#000000',
  },
}
SCSS
$custom: #d8eb7a;
$custom-light: #e6f1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8eb7a",
  "rgb": {
    "r": 216,
    "g": 235,
    "b": 122
  },
  "hsl": {
    "h": 70.088,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.90241,
    "c": 0.13999,
    "h": 117.2
  },
  "luminance": 0.75421
}

Semantic roles & 50–950 ramp

primary
#D8EB7A
secondary
#5B45C4
accent
#10D631
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D8EB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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