#D9BB5F#D9BB5F

#D9BB5F is a light, moderate yellow. Relative luminance 0.511; OKLCH L 80.0% C 0.117 H 91.6°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#D9BB5F
RGBrgb(217, 187, 95)
HSLhsl(45, 62%, 61%)
HSVhsv(45, 56%, 85%)
CMYKcmyk(0%, 13.8%, 56.2%, 14.9%)
CIE-LABlab(76.75, -0.37, 49.87)
CIE-LCHlch(76.75, 49.87, 90.43°)
OKLaboklab(79.95% -0.0032 0.1168)
OKLCHoklch(79.95% 0.117 91.6)
XYZxyz(48.4532, 51.1210, 18.1394)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BB5F #5F7DD9
analogous
#D97E5F #D9BB5F #BAD95F
triadic
#D9BB5F #5FD9BB #BB5FD9
tetradic
#D9BB5F #5FD97E #5F7DD9 #D95FBA
square
#D9BB5F #5FD97E #5F7DD9 #D95FBA
split-complementary
#D9BB5F #5FBAD9 #7E5FD9
monochromatic
#997C24 #CBA530 #D9BB5F #E5D090 #F0E5C2

Accessibility & contrast

On white

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

On black

11.22
#D9BB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BB5F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BB5F#FFFFFF#000000##000000
##D9BB5F1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB856
Deuteranopia (green-blind)
#D4C163
Tritanopia (blue-blind)
#E9AEA6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d9bb5f;
/* rgb */ color: rgb(217, 187, 95);
/* oklch */ color: oklch(80.0% 0.117 91.6);
Tailwind
colors: {
  custom: {
    50: '#e7cf8f',
    500: '#d9bb5f',
    950: '#000000',
  },
}
SCSS
$custom: #d9bb5f;
$custom-light: #e7cf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bb5f",
  "rgb": {
    "r": 217,
    "g": 187,
    "b": 95
  },
  "hsl": {
    "h": 45.246,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.79954,
    "c": 0.11683,
    "h": 91.6
  },
  "luminance": 0.51119
}

Semantic roles & 50–950 ramp

primary
#D9BB5F
secondary
#3F569E
accent
#47C91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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