#D8BC56#D8BC56

#D8BC56 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 80.0% C 0.125 H 94.0°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#D8BC56
RGBrgb(216, 188, 86)
HSLhsl(47, 63%, 59%)
HSVhsv(47, 60%, 85%)
CMYKcmyk(0%, 13%, 60.2%, 15.3%)
CIE-LABlab(76.82, -1.98, 54.14)
CIE-LCHlch(76.82, 54.18, 92.09°)
OKLaboklab(79.96% -0.0088 0.125)
OKLCHoklch(79.96% 0.125 94)
XYZxyz(47.9839, 51.2396, 16.1651)
Luminance0.5124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BC56 #5672D8
analogous
#D87B56 #D8BC56 #B3D856
triadic
#D8BC56 #56D8BC #BC56D8
tetradic
#D8BC56 #56D87B #5672D8 #D856B3
square
#D8BC56 #56D87B #5672D8 #D856B3
split-complementary
#D8BC56 #56B3D8 #7B56D8
monochromatic
#927A22 #C4A32D #D8BC56 #E3D088 #EFE3B9

Accessibility & contrast

On white

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

On black

11.25
#D8BC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BC56
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BC56#FFFFFF#000000##000000
##D8BC561.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94B
Deuteranopia (green-blind)
#D5C15B
Tritanopia (blue-blind)
#E8AFA6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8bc56;
/* rgb */ color: rgb(216, 188, 86);
/* oklch */ color: oklch(80.0% 0.125 94.0);
Tailwind
colors: {
  custom: {
    50: '#e7cf89',
    500: '#d8bc56',
    950: '#000000',
  },
}
SCSS
$custom: #d8bc56;
$custom-light: #e7cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bc56",
  "rgb": {
    "r": 216,
    "g": 188,
    "b": 86
  },
  "hsl": {
    "h": 47.077,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79959,
    "c": 0.12526,
    "h": 94
  },
  "luminance": 0.51237
}

Semantic roles & 50–950 ramp

primary
#D8BC56
secondary
#3B4F97
accent
#65E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BC56

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

Preview Lab → · Contrast checker → · Palette generator →

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