#D8EA5B#D8EA5B

#D8EA5B is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 89.7% C 0.166 H 115.9°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#D8EA5B
RGBrgb(216, 234, 91)
HSLhsl(68, 77%, 64%)
HSVhsv(68, 61%, 92%)
CMYKcmyk(7.7%, 0%, 61.1%, 8.2%)
CIE-LABlab(89.02, -24.62, 65.37)
CIE-LCHlch(89.02, 69.85, 110.64°)
OKLaboklab(89.68% -0.0726 0.1495)
OKLCHoklch(89.68% 0.166 115.9)
XYZxyz(59.6313, 74.2007, 21.0763)
Luminance0.7420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EA5B #6D5BEA
analogous
#EAB45B #D8EA5B #90EA5B
triadic
#D8EA5B #5BD8EA #EA5BD8
tetradic
#D8EA5B #5BEAB4 #6D5BEA #EA5B90
square
#D8EA5B #5BEAB4 #6D5BEA #EA5B90
split-complementary
#D8EA5B #5B90EA #B45BEA
monochromatic
#A0B417 #CBE325 #D8EA5B #E5F191 #F2F8C8

Accessibility & contrast

On white

1.33
#D8EA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#D8EA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EA5B
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EA5B#FFFFFF#000000##000000
##D8EA5B1.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4A
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#E5DECC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8ea5b;
/* rgb */ color: rgb(216, 234, 91);
/* oklch */ color: oklch(89.7% 0.166 115.9);
Tailwind
colors: {
  custom: {
    50: '#e7f08f',
    500: '#d8ea5b',
    950: '#000000',
  },
}
SCSS
$custom: #d8ea5b;
$custom-light: #e7f08f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ea5b",
  "rgb": {
    "r": 216,
    "g": 234,
    "b": 91
  },
  "hsl": {
    "h": 67.552,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89683,
    "c": 0.1662,
    "h": 115.9
  },
  "luminance": 0.742
}

Semantic roles & 50–950 ramp

primary
#D8EA5B
secondary
#4536B4
accent
#0CDA26
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8EA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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