#D9BB5B#D9BB5B

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

Color values

HEX#D9BB5B
RGBrgb(217, 187, 91)
HSLhsl(46, 62%, 60%)
HSVhsv(46, 58%, 85%)
CMYKcmyk(0%, 13.8%, 58.1%, 14.9%)
CIE-LABlab(76.71, -0.68, 51.72)
CIE-LCHlch(76.71, 51.72, 90.75°)
OKLaboklab(79.91% -0.0045 0.1203)
OKLCHoklch(79.91% 0.12 92.2)
XYZxyz(48.2760, 51.0501, 17.2063)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BB5B #5B79D9
analogous
#D97C5B #D9BB5B #B8D95B
triadic
#D9BB5B #5BD9BB #BB5BD9
tetradic
#D9BB5B #5BD97C #5B79D9 #D95BB8
square
#D9BB5B #5BD97C #5B79D9 #D95BB8
split-complementary
#D9BB5B #5BB8D9 #7C5BD9
monochromatic
#977B23 #C8A42E #D9BB5B #E5D08D #F0E4BE

Accessibility & contrast

On white

1.87
#D9BB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#D9BB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BB5B
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BB5B#FFFFFF#000000##000000
##D9BB5B1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9bb5b;
/* rgb */ color: rgb(217, 187, 91);
/* oklch */ color: oklch(79.9% 0.120 92.2);
Tailwind
colors: {
  custom: {
    50: '#e8cf8c',
    500: '#d9bb5b',
    950: '#000000',
  },
}
SCSS
$custom: #d9bb5b;
$custom-light: #e8cf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bb5b",
  "rgb": {
    "r": 217,
    "g": 187,
    "b": 91
  },
  "hsl": {
    "h": 45.714,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.79907,
    "c": 0.12042,
    "h": 92.2
  },
  "luminance": 0.51048
}

Semantic roles & 50–950 ramp

primary
#D9BB5B
secondary
#3D539B
accent
#45CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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