#D8BD56#D8BD56

#D8BD56 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.2% C 0.126 H 94.7°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#D8BD56
RGBrgb(216, 189, 86)
HSLhsl(48, 63%, 59%)
HSVhsv(48, 60%, 85%)
CMYKcmyk(0%, 12.5%, 60.2%, 15.3%)
CIE-LABlab(77.08, -2.50, 54.43)
CIE-LCHlch(77.08, 54.49, 92.63°)
OKLaboklab(80.16% -0.0103 0.1256)
OKLCHoklch(80.16% 0.126 94.7)
XYZxyz(48.1983, 51.6683, 16.2365)
Luminance0.5167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BD56 #5671D8
analogous
#D87C56 #D8BD56 #B2D856
triadic
#D8BD56 #56D8BD #BD56D8
tetradic
#D8BD56 #56D87C #5671D8 #D856B2
square
#D8BD56 #56D87C #5671D8 #D856B2
split-complementary
#D8BD56 #56B2D8 #7C56D8
monochromatic
#927B22 #C4A42D #D8BD56 #E3D088 #EFE4B9

Accessibility & contrast

On white

1.85
#D8BD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#D8BD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BD56
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BD56#FFFFFF#000000##000000
##D8BD561.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB94B
Deuteranopia (green-blind)
#D6C25B
Tritanopia (blue-blind)
#E8B0A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8bd56;
/* rgb */ color: rgb(216, 189, 86);
/* oklch */ color: oklch(80.2% 0.126 94.7);
Tailwind
colors: {
  custom: {
    50: '#e7d089',
    500: '#d8bd56',
    950: '#000000',
  },
}
SCSS
$custom: #d8bd56;
$custom-light: #e7d089;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bd56",
  "rgb": {
    "r": 216,
    "g": 189,
    "b": 86
  },
  "hsl": {
    "h": 47.538,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80163,
    "c": 0.12599,
    "h": 94.7
  },
  "luminance": 0.51666
}

Semantic roles & 50–950 ramp

primary
#D8BD56
secondary
#3B4E97
accent
#64E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BD56

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

Preview Lab → · Contrast checker → · Palette generator →

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