#D8EA5A#D8EA5A

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

Color values

HEX#D8EA5A
RGBrgb(216, 234, 90)
HSLhsl(68, 77%, 64%)
HSVhsv(68, 62%, 92%)
CMYKcmyk(7.7%, 0%, 61.5%, 8.2%)
CIE-LABlab(89.01, -24.69, 65.77)
CIE-LCHlch(89.01, 70.25, 110.58°)
OKLaboklab(89.67% -0.0729 0.1502)
OKLCHoklch(89.67% 0.167 115.9)
XYZxyz(59.5885, 74.1836, 20.8507)
Luminance0.7418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EA5A #6C5AEA
analogous
#EAB45A #D8EA5A #90EA5A
triadic
#D8EA5A #5AD8EA #EA5AD8
tetradic
#D8EA5A #5AEAB4 #6C5AEA #EA5A90
square
#D8EA5A #5AEAB4 #6C5AEA #EA5A90
split-complementary
#D8EA5A #5A90EA #B45AEA
monochromatic
#9FB317 #CBE324 #D8EA5A #E5F190 #F2F8C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8EA5A#FFFFFF#000000##000000
##D8EA5A1.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)
#F9DF48
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#E5DECC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8ea5a;
/* rgb */ color: rgb(216, 234, 90);
/* oklch */ color: oklch(89.7% 0.167 115.9);
Tailwind
colors: {
  custom: {
    50: '#e7f08f',
    500: '#d8ea5a',
    950: '#000000',
  },
}
SCSS
$custom: #d8ea5a;
$custom-light: #e7f08f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ea5a",
  "rgb": {
    "r": 216,
    "g": 234,
    "b": 90
  },
  "hsl": {
    "h": 67.5,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.89674,
    "c": 0.16697,
    "h": 115.9
  },
  "luminance": 0.74183
}

Semantic roles & 50–950 ramp

primary
#D8EA5A
secondary
#4535B3
accent
#0CDA26
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8EA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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