#D8BC57#D8BC57

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

Color values

HEX#D8BC57
RGBrgb(216, 188, 87)
HSLhsl(47, 62%, 59%)
HSVhsv(47, 60%, 85%)
CMYKcmyk(0%, 13%, 59.7%, 15.3%)
CIE-LABlab(76.83, -1.91, 53.69)
CIE-LCHlch(76.83, 53.73, 92.03°)
OKLaboklab(79.97% -0.0085 0.1241)
OKLCHoklch(79.97% 0.124 93.9)
XYZxyz(48.0245, 51.2559, 16.3787)
Luminance0.5125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BC57 #5773D8
analogous
#D87C57 #D8BC57 #B3D857
triadic
#D8BC57 #57D8BC #BC57D8
tetradic
#D8BC57 #57D87C #5773D8 #D857B3
square
#D8BC57 #57D87C #5773D8 #D857B3
split-complementary
#D8BC57 #57B3D8 #7C57D8
monochromatic
#937A22 #C4A42E #D8BC57 #E4D089 #EFE4BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8BC57#FFFFFF#000000##000000
##D8BC571.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)
#CEB94D
Deuteranopia (green-blind)
#D5C15C
Tritanopia (blue-blind)
#E8AFA6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8bc57;
/* rgb */ color: rgb(216, 188, 87);
/* oklch */ color: oklch(80.0% 0.124 93.9);
Tailwind
colors: {
  custom: {
    50: '#e7cf8a',
    500: '#d8bc57',
    950: '#000000',
  },
}
SCSS
$custom: #d8bc57;
$custom-light: #e7cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bc57",
  "rgb": {
    "r": 216,
    "g": 188,
    "b": 87
  },
  "hsl": {
    "h": 46.977,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.7997,
    "c": 0.12441,
    "h": 93.9
  },
  "luminance": 0.51253
}

Semantic roles & 50–950 ramp

primary
#D8BC57
secondary
#3C5098
accent
#66E542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BC57

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

Preview Lab → · Contrast checker → · Palette generator →

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