#D8DE5B#D8DE5B

#D8DE5B is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.1% C 0.153 H 111.6°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#D8DE5B
RGBrgb(216, 222, 91)
HSLhsl(63, 66%, 61%)
HSVhsv(63, 59%, 87%)
CMYKcmyk(2.7%, 0%, 59%, 12.9%)
CIE-LABlab(85.81, -18.83, 61.88)
CIE-LCHlch(85.81, 64.68, 106.92°)
OKLaboklab(87.11% -0.0563 0.1421)
OKLCHoklch(87.11% 0.153 111.6)
XYZxyz(56.3300, 67.5981, 19.9759)
Luminance0.6760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DE5B #615BDE
analogous
#DEA35B #D8DE5B #97DE5B
triadic
#D8DE5B #5BD8DE #DE5BD8
tetradic
#D8DE5B #5BDEA3 #615BDE #DE5B97
square
#D8DE5B #5BDEA3 #615BDE #DE5B97
split-complementary
#D8DE5B #5B97DE #A35BDE
monochromatic
#999F20 #CAD22A #D8DE5B #E4E88E #F0F3C1

Accessibility & contrast

On white

1.45
#D8DE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#D8DE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DE5B
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DE5B#FFFFFF#000000##000000
##D8DE5B1.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54C
Deuteranopia (green-blind)
#EED863
Tritanopia (blue-blind)
#E5D2C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8de5b;
/* rgb */ color: rgb(216, 222, 91);
/* oklch */ color: oklch(87.1% 0.153 111.6);
Tailwind
colors: {
  custom: {
    50: '#e7e88e',
    500: '#d8de5b',
    950: '#000000',
  },
}
SCSS
$custom: #d8de5b;
$custom-light: #e7e88e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8de5b",
  "rgb": {
    "r": 216,
    "g": 222,
    "b": 91
  },
  "hsl": {
    "h": 62.748,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87113,
    "c": 0.15285,
    "h": 111.6
  },
  "luminance": 0.67597
}

Semantic roles & 50–950 ramp

primary
#D8DE5B
secondary
#403BA2
accent
#17CE20
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D8DE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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