#D8DB5B#D8DB5B

#D8DB5B is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.5% C 0.150 H 110.4°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#D8DB5B
RGBrgb(216, 219, 91)
HSLhsl(61, 64%, 61%)
HSVhsv(61, 58%, 86%)
CMYKcmyk(1.4%, 0%, 58.4%, 14.1%)
CIE-LABlab(85.01, -17.35, 61.01)
CIE-LCHlch(85.01, 63.43, 105.88°)
OKLaboklab(86.47% -0.0522 0.1402)
OKLCHoklch(86.47% 0.15 110.4)
XYZxyz(55.5403, 66.0187, 19.7127)
Luminance0.6602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB5B #5E5BDB
analogous
#DB9E5B #D8DB5B #98DB5B
triadic
#D8DB5B #5BD8DB #DB5BD8
tetradic
#D8DB5B #5BDB9E #5E5BDB #DB5B98
square
#D8DB5B #5BDB9E #5E5BDB #DB5B98
split-complementary
#D8DB5B #5B98DB #9E5BDB
monochromatic
#979A22 #C8CC2D #D8DB5B #E4E68D #F0F1BF

Accessibility & contrast

On white

1.48
#D8DB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#D8DB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB5B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB5B#FFFFFF#000000##000000
##D8DB5B1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24D
Deuteranopia (green-blind)
#ECD663
Tritanopia (blue-blind)
#E6CFC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8db5b;
/* rgb */ color: rgb(216, 219, 91);
/* oklch */ color: oklch(86.5% 0.150 110.4);
Tailwind
colors: {
  custom: {
    50: '#e7e68e',
    500: '#d8db5b',
    950: '#000000',
  },
}
SCSS
$custom: #d8db5b;
$custom-light: #e7e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db5b",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 91
  },
  "hsl": {
    "h": 61.406,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86474,
    "c": 0.14962,
    "h": 110.4
  },
  "luminance": 0.66017
}

Semantic roles & 50–950 ramp

primary
#D8DB5B
secondary
#3F3C9E
accent
#1ACC1E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8DB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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