#D8BC5F#D8BC5F

#D8BC5F is a light, moderate yellow. Relative luminance 0.514; OKLCH L 80.1% C 0.117 H 92.8°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#D8BC5F
RGBrgb(216, 188, 95)
HSLhsl(46, 61%, 61%)
HSVhsv(46, 56%, 85%)
CMYKcmyk(0%, 13%, 56%, 15.3%)
CIE-LABlab(76.92, -1.31, 50.04)
CIE-LCHlch(76.92, 50.05, 91.50°)
OKLaboklab(80.06% -0.0058 0.1172)
OKLCHoklch(80.06% 0.117 92.8)
XYZxyz(48.3696, 51.3939, 18.1965)
Luminance0.5139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BC5F #5F7BD8
analogous
#D87F5F #D8BC5F #B7D85F
triadic
#D8BC5F #5FD8BC #BC5FD8
tetradic
#D8BC5F #5FD87F #5F7BD8 #D85FB7
square
#D8BC5F #5FD87F #5F7BD8 #D85FB7
split-complementary
#D8BC5F #5FB7D8 #7F5FD8
monochromatic
#987D25 #C9A631 #D8BC5F #E4D190 #F0E5C1

Accessibility & contrast

On white

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

On black

11.28
#D8BC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BC5F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BC5F#FFFFFF#000000##000000
##D8BC5F1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8bc5f;
/* rgb */ color: rgb(216, 188, 95);
/* oklch */ color: oklch(80.1% 0.117 92.8);
Tailwind
colors: {
  custom: {
    50: '#e7cf8f',
    500: '#d8bc5f',
    950: '#000000',
  },
}
SCSS
$custom: #d8bc5f;
$custom-light: #e7cf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bc5f",
  "rgb": {
    "r": 216,
    "g": 188,
    "b": 95
  },
  "hsl": {
    "h": 46.116,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80063,
    "c": 0.11731,
    "h": 92.8
  },
  "luminance": 0.51392
}

Semantic roles & 50–950 ramp

primary
#D8BC5F
secondary
#3F559C
accent
#45C81D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130D
muted
#85837F

Preview Lab

Preview with #D8BC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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