#D8DC5B#D8DC5B

#D8DC5B is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.7% C 0.151 H 110.8°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#D8DC5B
RGBrgb(216, 220, 91)
HSLhsl(62, 65%, 61%)
HSVhsv(62, 59%, 86%)
CMYKcmyk(1.8%, 0%, 58.6%, 13.7%)
CIE-LABlab(85.27, -17.85, 61.30)
CIE-LCHlch(85.27, 63.84, 106.23°)
OKLaboklab(86.69% -0.0536 0.1409)
OKLCHoklch(86.69% 0.151 110.8)
XYZxyz(55.8019, 66.5420, 19.7999)
Luminance0.6654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC5B #5F5BDC
analogous
#DC9F5B #D8DC5B #97DC5B
triadic
#D8DC5B #5BD8DC #DC5BD8
tetradic
#D8DC5B #5BDC9F #5F5BDC #DC5B97
square
#D8DC5B #5BDC9F #5F5BDC #DC5B97
split-complementary
#D8DC5B #5B97DC #9F5BDC
monochromatic
#989B21 #C9CE2C #D8DC5B #E4E78D #F0F2C0

Accessibility & contrast

On white

1.47
#D8DC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#D8DC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC5B
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC5B#FFFFFF#000000##000000
##D8DC5B1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34C
Deuteranopia (green-blind)
#EDD763
Tritanopia (blue-blind)
#E6D0C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc5b;
/* rgb */ color: rgb(216, 220, 91);
/* oklch */ color: oklch(86.7% 0.151 110.8);
Tailwind
colors: {
  custom: {
    50: '#e7e68e',
    500: '#d8dc5b',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc5b;
$custom-light: #e7e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc5b",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 61.86,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86687,
    "c": 0.15069,
    "h": 110.8
  },
  "luminance": 0.66541
}

Semantic roles & 50–950 ramp

primary
#D8DC5B
secondary
#3F3C9F
accent
#19CD1E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8DC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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