#D8BC54#D8BC54

#D8BC54 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.9% C 0.127 H 94.3°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#D8BC54
RGBrgb(216, 188, 84)
HSLhsl(47, 63%, 59%)
HSVhsv(47, 61%, 85%)
CMYKcmyk(0%, 13%, 61.1%, 15.3%)
CIE-LABlab(76.80, -2.11, 55.03)
CIE-LCHlch(76.80, 55.07, 92.20°)
OKLaboklab(79.94% -0.0094 0.1266)
OKLCHoklch(79.94% 0.127 94.3)
XYZxyz(47.9045, 51.2078, 15.7466)
Luminance0.5121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BC54 #5470D8
analogous
#D87A54 #D8BC54 #B2D854
triadic
#D8BC54 #54D8BC #BC54D8
tetradic
#D8BC54 #54D87A #5470D8 #D854B2
square
#D8BC54 #54D87A #5470D8 #D854B2
split-complementary
#D8BC54 #54B2D8 #7A54D8
monochromatic
#917921 #C2A32C #D8BC54 #E3D086 #EFE3B8

Accessibility & contrast

On white

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

On black

11.24
#D8BC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BC54
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BC54#FFFFFF#000000##000000
##D8BC541.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB949
Deuteranopia (green-blind)
#D5C159
Tritanopia (blue-blind)
#E8AFA5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8bc54;
/* rgb */ color: rgb(216, 188, 84);
/* oklch */ color: oklch(79.9% 0.127 94.3);
Tailwind
colors: {
  custom: {
    50: '#e7cf88',
    500: '#d8bc54',
    950: '#000000',
  },
}
SCSS
$custom: #d8bc54;
$custom-light: #e7cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bc54",
  "rgb": {
    "r": 216,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 47.273,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79938,
    "c": 0.12694,
    "h": 94.3
  },
  "luminance": 0.51205
}

Semantic roles & 50–950 ramp

primary
#D8BC54
secondary
#3A4E96
accent
#65E642
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BC54

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

Preview Lab → · Contrast checker → · Palette generator →

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