#D8EA78#D8EA78

#D8EA78 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.0% C 0.141 H 116.7°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#D8EA78
RGBrgb(216, 234, 120)
HSLhsl(69, 73%, 69%)
HSVhsv(69, 49%, 92%)
CMYKcmyk(7.7%, 0%, 48.7%, 8.2%)
CIE-LABlab(89.30, -22.28, 52.90)
CIE-LCHlch(89.30, 57.40, 112.84°)
OKLaboklab(90% -0.0633 0.1257)
OKLCHoklch(90% 0.141 116.7)
XYZxyz(61.1326, 74.8012, 28.9833)
Luminance0.7480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EA78 #8A78EA
analogous
#EAC378 #D8EA78 #9FEA78
triadic
#D8EA78 #78D8EA #EA78D8
tetradic
#D8EA78 #78EAC3 #8A78EA #EA789F
square
#D8EA78 #78EAC3 #8A78EA #EA789F
split-complementary
#D8EA78 #789FEA #C378EA
monochromatic
#AEC81F #C9E243 #D8EA78 #E7F2AD #F7FAE2

Accessibility & contrast

On white

1.32
#D8EA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#D8EA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EA78
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EA78#FFFFFF#000000##000000
##D8EA781.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06E
Deuteranopia (green-blind)
#F6E17E
Tritanopia (blue-blind)
#E3DFD0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8ea78;
/* rgb */ color: rgb(216, 234, 120);
/* oklch */ color: oklch(90.0% 0.141 116.7);
Tailwind
colors: {
  custom: {
    50: '#e6f0a1',
    500: '#d8ea78',
    950: '#000000',
  },
}
SCSS
$custom: #d8ea78;
$custom-light: #e6f0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ea78",
  "rgb": {
    "r": 216,
    "g": 234,
    "b": 120
  },
  "hsl": {
    "h": 69.474,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90001,
    "c": 0.1407,
    "h": 116.7
  },
  "luminance": 0.74801
}

Semantic roles & 50–950 ramp

primary
#D8EA78
secondary
#5844C2
accent
#10D52F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D8EA78

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

Preview Lab → · Contrast checker → · Palette generator →

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