#D8EB5A#D8EB5A

#D8EB5A is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 89.9% C 0.168 H 116.2°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#D8EB5A
RGBrgb(216, 235, 90)
HSLhsl(68, 78%, 64%)
HSVhsv(68, 62%, 92%)
CMYKcmyk(8.1%, 0%, 61.7%, 7.8%)
CIE-LABlab(89.28, -25.17, 66.06)
CIE-LCHlch(89.28, 70.69, 110.86°)
OKLaboklab(89.89% -0.0743 0.1508)
OKLCHoklch(89.89% 0.168 116.2)
XYZxyz(59.8739, 74.7546, 20.9458)
Luminance0.7475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EB5A #6D5AEB
analogous
#EBB55A #D8EB5A #8FEB5A
triadic
#D8EB5A #5AD8EB #EB5AD8
tetradic
#D8EB5A #5AEBB5 #6D5AEB #EB5A8F
square
#D8EB5A #5AEBB5 #6D5AEB #EB5A8F
split-complementary
#D8EB5A #5A8FEB #B55AEB
monochromatic
#A0B516 #CBE423 #D8EB5A #E5F291 #F2F8C7

Accessibility & contrast

On white

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

On black

15.95
#D8EB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EB5A
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EB5A#FFFFFF#000000##000000
##D8EB5A1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE048
Deuteranopia (green-blind)
#F9E164
Tritanopia (blue-blind)
#E5DFCD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8eb5a;
/* rgb */ color: rgb(216, 235, 90);
/* oklch */ color: oklch(89.9% 0.168 116.2);
Tailwind
colors: {
  custom: {
    50: '#e7f18f',
    500: '#d8eb5a',
    950: '#000000',
  },
}
SCSS
$custom: #d8eb5a;
$custom-light: #e7f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8eb5a",
  "rgb": {
    "r": 216,
    "g": 235,
    "b": 90
  },
  "hsl": {
    "h": 67.862,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8989,
    "c": 0.1681,
    "h": 116.2
  },
  "luminance": 0.74754
}

Semantic roles & 50–950 ramp

primary
#D8EB5A
secondary
#4535B5
accent
#0BDB26
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8EB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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