#D8EB78#D8EB78

#D8EB78 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.2% C 0.142 H 117.1°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#D8EB78
RGBrgb(216, 235, 120)
HSLhsl(70, 74%, 70%)
HSVhsv(70, 49%, 92%)
CMYKcmyk(8.1%, 0%, 48.9%, 7.8%)
CIE-LABlab(89.57, -22.76, 53.22)
CIE-LCHlch(89.57, 57.88, 113.16°)
OKLaboklab(90.22% -0.0646 0.1264)
OKLCHoklch(90.22% 0.142 117.1)
XYZxyz(61.4181, 75.3722, 29.0784)
Luminance0.7537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EB78 #8B78EB
analogous
#EBC578 #D8EB78 #9FEB78
triadic
#D8EB78 #78D8EB #EB78D8
tetradic
#D8EB78 #78EBC5 #8B78EB #EB789F
square
#D8EB78 #78EBC5 #8B78EB #EB789F
split-complementary
#D8EB78 #789FEB #C578EB
monochromatic
#AECB1E #C9E343 #D8EB78 #E7F3AD #F7FBE3

Accessibility & contrast

On white

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

On black

16.07
#D8EB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EB78
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EB78#FFFFFF#000000##000000
##D8EB781.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E16E
Deuteranopia (green-blind)
#F6E27E
Tritanopia (blue-blind)
#E3E0D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d8eb78;
/* rgb */ color: rgb(216, 235, 120);
/* oklch */ color: oklch(90.2% 0.142 117.1);
Tailwind
colors: {
  custom: {
    50: '#e6f1a1',
    500: '#d8eb78',
    950: '#000000',
  },
}
SCSS
$custom: #d8eb78;
$custom-light: #e6f1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8eb78",
  "rgb": {
    "r": 216,
    "g": 235,
    "b": 120
  },
  "hsl": {
    "h": 69.913,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90215,
    "c": 0.14195,
    "h": 117.1
  },
  "luminance": 0.75372
}

Semantic roles & 50–950 ramp

primary
#D8EB78
secondary
#5944C4
accent
#0FD630
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D8EB78

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

Preview Lab → · Contrast checker → · Palette generator →

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