#D8BC5D#D8BC5D

#D8BC5D is a light, moderate yellow. Relative luminance 0.514; OKLCH L 80.0% C 0.119 H 93.1°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#D8BC5D
RGBrgb(216, 188, 93)
HSLhsl(46, 61%, 61%)
HSVhsv(46, 57%, 85%)
CMYKcmyk(0%, 13%, 56.9%, 15.3%)
CIE-LABlab(76.90, -1.47, 50.96)
CIE-LCHlch(76.90, 50.98, 91.65°)
OKLaboklab(80.04% -0.0065 0.119)
OKLCHoklch(80.04% 0.119 93.1)
XYZxyz(48.2799, 51.3580, 17.7238)
Luminance0.5136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BC5D #5D79D8
analogous
#D87E5D #D8BC5D #B7D85D
triadic
#D8BC5D #5DD8BC #BC5DD8
tetradic
#D8BC5D #5DD87E #5D79D8 #D85DB7
square
#D8BC5D #5DD87E #5D79D8 #D85DB7
split-complementary
#D8BC5D #5DB7D8 #7E5DD8
monochromatic
#967C24 #C8A530 #D8BC5D #E4D08E #F0E5C0

Accessibility & contrast

On white

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

On black

11.27
#D8BC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BC5D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BC5D#FFFFFF#000000##000000
##D8BC5D1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8bc5d;
/* rgb */ color: rgb(216, 188, 93);
/* oklch */ color: oklch(80.0% 0.119 93.1);
Tailwind
colors: {
  custom: {
    50: '#e7cf8e',
    500: '#d8bc5d',
    950: '#000000',
  },
}
SCSS
$custom: #d8bc5d;
$custom-light: #e7cf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bc5d",
  "rgb": {
    "r": 216,
    "g": 188,
    "b": 93
  },
  "hsl": {
    "h": 46.341,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80039,
    "c": 0.11914,
    "h": 93.1
  },
  "luminance": 0.51356
}

Semantic roles & 50–950 ramp

primary
#D8BC5D
secondary
#3E539B
accent
#44C91D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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