#D8BB59#D8BB59

#D8BB59 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.8% C 0.122 H 93.0°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#D8BB59
RGBrgb(216, 187, 89)
HSLhsl(46, 62%, 60%)
HSVhsv(46, 59%, 85%)
CMYKcmyk(0%, 13.4%, 58.8%, 15.3%)
CIE-LABlab(76.60, -1.24, 52.50)
CIE-LCHlch(76.60, 52.51, 91.35°)
OKLaboklab(79.79% -0.0063 0.1218)
OKLCHoklch(79.79% 0.122 93)
XYZxyz(47.8945, 50.8632, 16.7441)
Luminance0.5086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BB59 #5976D8
analogous
#D87B59 #D8BB59 #B6D859
triadic
#D8BB59 #59D8BB #BB59D8
tetradic
#D8BB59 #59D87B #5976D8 #D859B6
square
#D8BB59 #59D87B #5976D8 #D859B6
split-complementary
#D8BB59 #59B6D8 #7B59D8
monochromatic
#947A23 #C5A32E #D8BB59 #E4CF8B #EFE4BC

Accessibility & contrast

On white

1.88
#D8BB59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#D8BB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BB59
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BB59#FFFFFF#000000##000000
##D8BB591.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84F
Deuteranopia (green-blind)
#D4C15D
Tritanopia (blue-blind)
#E8AEA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d8bb59;
/* rgb */ color: rgb(216, 187, 89);
/* oklch */ color: oklch(79.8% 0.122 93.0);
Tailwind
colors: {
  custom: {
    50: '#e7cf8b',
    500: '#d8bb59',
    950: '#000000',
  },
}
SCSS
$custom: #d8bb59;
$custom-light: #e7cf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bb59",
  "rgb": {
    "r": 216,
    "g": 187,
    "b": 89
  },
  "hsl": {
    "h": 46.299,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.79789,
    "c": 0.12196,
    "h": 93
  },
  "luminance": 0.50861
}

Semantic roles & 50–950 ramp

primary
#D8BB59
secondary
#3C5199
accent
#68E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BB59

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

Preview Lab → · Contrast checker → · Palette generator →

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