#D9BC5F#D9BC5F

#D9BC5F is a light, moderate yellow. Relative luminance 0.515; OKLCH L 80.2% C 0.118 H 92.3°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D9BC5F
RGBrgb(217, 188, 95)
HSLhsl(46, 62%, 61%)
HSVhsv(46, 56%, 85%)
CMYKcmyk(0%, 13.4%, 56.2%, 14.9%)
CIE-LABlab(77.01, -0.90, 50.17)
CIE-LCHlch(77.01, 50.18, 91.02°)
OKLaboklab(80.16% -0.0047 0.1174)
OKLCHoklch(80.16% 0.118 92.3)
XYZxyz(48.6660, 51.5467, 18.2104)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC5F #5F7CD9
analogous
#D97F5F #D9BC5F #B9D95F
triadic
#D9BC5F #5FD9BC #BC5FD9
tetradic
#D9BC5F #5FD97F #5F7CD9 #D95FB9
square
#D9BC5F #5FD97F #5F7CD9 #D95FB9
split-complementary
#D9BC5F #5FB9D9 #7F5FD9
monochromatic
#997D24 #CBA630 #D9BC5F #E5D190 #F0E5C2

Accessibility & contrast

On white

1.86
#D9BC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#D9BC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BC5F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BC5F#FFFFFF#000000##000000
##D9BC5F1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB956
Deuteranopia (green-blind)
#D4C263
Tritanopia (blue-blind)
#E9AFA7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d9bc5f;
/* rgb */ color: rgb(217, 188, 95);
/* oklch */ color: oklch(80.2% 0.118 92.3);
Tailwind
colors: {
  custom: {
    50: '#e7cf8f',
    500: '#d9bc5f',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc5f;
$custom-light: #e7cf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc5f",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 95
  },
  "hsl": {
    "h": 45.738,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.80157,
    "c": 0.11753,
    "h": 92.3
  },
  "luminance": 0.51544
}

Semantic roles & 50–950 ramp

primary
#D9BC5F
secondary
#3F559E
accent
#45C91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130D
muted
#85837F

Preview Lab

Preview with #D9BC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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