#D8EB5B#D8EB5B

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

Color values

HEX#D8EB5B
RGBrgb(216, 235, 91)
HSLhsl(68, 78%, 64%)
HSVhsv(68, 61%, 92%)
CMYKcmyk(8.1%, 0%, 61.3%, 7.8%)
CIE-LABlab(89.29, -25.10, 65.66)
CIE-LCHlch(89.29, 70.29, 110.92°)
OKLaboklab(89.9% -0.074 0.1501)
OKLCHoklch(89.9% 0.167 116.2)
XYZxyz(59.9168, 74.7717, 21.1715)
Luminance0.7477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EB5B #6E5BEB
analogous
#EBB65B #D8EB5B #90EB5B
triadic
#D8EB5B #5BD8EB #EB5BD8
tetradic
#D8EB5B #5BEBB6 #6E5BEB #EB5B90
square
#D8EB5B #5BEBB6 #6E5BEB #EB5B90
split-complementary
#D8EB5B #5B90EB #B65BEB
monochromatic
#A0B516 #CBE424 #D8EB5B #E5F292 #F2F8C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8EB5B#FFFFFF#000000##000000
##D8EB5B1.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)
#FAE049
Deuteranopia (green-blind)
#F9E165
Tritanopia (blue-blind)
#E5DFCD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8eb5b;
/* rgb */ color: rgb(216, 235, 91);
/* oklch */ color: oklch(89.9% 0.167 116.2);
Tailwind
colors: {
  custom: {
    50: '#e7f18f',
    500: '#d8eb5b',
    950: '#000000',
  },
}
SCSS
$custom: #d8eb5b;
$custom-light: #e7f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8eb5b",
  "rgb": {
    "r": 216,
    "g": 235,
    "b": 91
  },
  "hsl": {
    "h": 67.917,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89899,
    "c": 0.16733,
    "h": 116.2
  },
  "luminance": 0.74771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8EB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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