#D9BB56#D9BB56

#D9BB56 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.9% C 0.125 H 92.8°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#D9BB56
RGBrgb(217, 187, 86)
HSLhsl(46, 63%, 59%)
HSVhsv(46, 60%, 85%)
CMYKcmyk(0%, 13.8%, 60.4%, 14.9%)
CIE-LABlab(76.66, -1.03, 53.98)
CIE-LCHlch(76.66, 53.99, 91.10°)
OKLaboklab(79.85% -0.0062 0.1246)
OKLCHoklch(79.85% 0.125 92.8)
XYZxyz(48.0675, 50.9667, 16.1080)
Luminance0.5096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BB56 #5674D9
analogous
#D97A56 #D9BB56 #B5D956
triadic
#D9BB56 #56D9BB #BB56D9
tetradic
#D9BB56 #56D97A #5674D9 #D956B5
square
#D9BB56 #56D97A #5674D9 #D956B5
split-complementary
#D9BB56 #56B5D9 #7A56D9
monochromatic
#937921 #C5A22C #D9BB56 #E4CF88 #EFE3BA

Accessibility & contrast

On white

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

On black

11.19
#D9BB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BB56
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BB56#FFFFFF#000000##000000
##D9BB561.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84B
Deuteranopia (green-blind)
#D4C15A
Tritanopia (blue-blind)
#E9AEA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d9bb56;
/* rgb */ color: rgb(217, 187, 86);
/* oklch */ color: oklch(79.9% 0.125 92.8);
Tailwind
colors: {
  custom: {
    50: '#e8cf89',
    500: '#d9bb56',
    950: '#000000',
  },
}
SCSS
$custom: #d9bb56;
$custom-light: #e8cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bb56",
  "rgb": {
    "r": 217,
    "g": 187,
    "b": 86
  },
  "hsl": {
    "h": 46.26,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.79851,
    "c": 0.12473,
    "h": 92.8
  },
  "luminance": 0.50964
}

Semantic roles & 50–950 ramp

primary
#D9BB56
secondary
#3B5098
accent
#67E641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BB56

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

Preview Lab → · Contrast checker → · Palette generator →

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