#D8EB5C#D8EB5C

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

Color values

HEX#D8EB5C
RGBrgb(216, 235, 92)
HSLhsl(68, 78%, 64%)
HSVhsv(68, 61%, 92%)
CMYKcmyk(8.1%, 0%, 60.9%, 7.8%)
CIE-LABlab(89.29, -25.03, 65.26)
CIE-LCHlch(89.29, 69.89, 110.98°)
OKLaboklab(89.91% -0.0737 0.1494)
OKLCHoklch(89.91% 0.167 116.3)
XYZxyz(59.9602, 74.7891, 21.4002)
Luminance0.7479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EB5C #6F5CEB
analogous
#EBB75C #D8EB5C #91EB5C
triadic
#D8EB5C #5CD8EB #EB5CD8
tetradic
#D8EB5C #5CEBB7 #6F5CEB #EB5C91
square
#D8EB5C #5CEBB7 #6F5CEB #EB5C91
split-complementary
#D8EB5C #5C91EB #B75CEB
monochromatic
#A1B616 #CBE425 #D8EB5C #E5F293 #F2F8C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8EB5C#FFFFFF#000000##000000
##D8EB5C1.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)
#FAE04B
Deuteranopia (green-blind)
#F8E165
Tritanopia (blue-blind)
#E4DFCD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8eb5c;
/* rgb */ color: rgb(216, 235, 92);
/* oklch */ color: oklch(89.9% 0.167 116.3);
Tailwind
colors: {
  custom: {
    50: '#e7f190',
    500: '#d8eb5c',
    950: '#000000',
  },
}
SCSS
$custom: #d8eb5c;
$custom-light: #e7f190;
$custom-dark: #000000;
JSON
{
  "hex": "#d8eb5c",
  "rgb": {
    "r": 216,
    "g": 235,
    "b": 92
  },
  "hsl": {
    "h": 67.972,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89908,
    "c": 0.16656,
    "h": 116.3
  },
  "luminance": 0.74788
}

Semantic roles & 50–950 ramp

primary
#D8EB5C
secondary
#4635B6
accent
#0BDA27
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8EB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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