#D8DB5A#D8DB5A

#D8DB5A 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#D8DB5A
RGBrgb(216, 219, 90)
HSLhsl(61, 64%, 61%)
HSVhsv(61, 59%, 86%)
CMYKcmyk(1.4%, 0%, 58.9%, 14.1%)
CIE-LABlab(85.00, -17.42, 61.42)
CIE-LCHlch(85.00, 63.85, 105.84°)
OKLaboklab(86.47% -0.0525 0.141)
OKLCHoklch(86.47% 0.15 110.4)
XYZxyz(55.4974, 66.0015, 19.4870)
Luminance0.6600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB5A #5D5ADB
analogous
#DB9D5A #D8DB5A #98DB5A
triadic
#D8DB5A #5AD8DB #DB5AD8
tetradic
#D8DB5A #5ADB9D #5D5ADB #DB5A98
square
#D8DB5A #5ADB9D #5D5ADB #DB5A98
split-complementary
#D8DB5A #5A98DB #9D5ADB
monochromatic
#969921 #C8CB2C #D8DB5A #E4E68C #F0F1BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8DB5A#FFFFFF#000000##000000
##D8DB5A1.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)
#EBD24B
Deuteranopia (green-blind)
#ECD662
Tritanopia (blue-blind)
#E6CFC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8db5a;
/* rgb */ color: rgb(216, 219, 90);
/* oklch */ color: oklch(86.5% 0.150 110.4);
Tailwind
colors: {
  custom: {
    50: '#e7e68e',
    500: '#d8db5a',
    950: '#000000',
  },
}
SCSS
$custom: #d8db5a;
$custom-light: #e7e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db5a",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 90
  },
  "hsl": {
    "h": 61.395,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.86465,
    "c": 0.15044,
    "h": 110.4
  },
  "luminance": 0.66
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8DB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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