#D8B956#D8B956

#D8B956 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.3% C 0.123 H 92.0°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#D8B956
RGBrgb(216, 185, 86)
HSLhsl(46, 63%, 59%)
HSVhsv(46, 60%, 85%)
CMYKcmyk(0%, 14.4%, 60.2%, 15.3%)
CIE-LABlab(76.05, -0.41, 53.27)
CIE-LCHlch(76.05, 53.27, 90.44°)
OKLaboklab(79.35% -0.0043 0.1231)
OKLCHoklch(79.35% 0.123 92)
XYZxyz(47.3497, 49.9712, 15.9537)
Luminance0.4997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B956 #5675D8
analogous
#D87856 #D8B956 #B6D856
triadic
#D8B956 #56D8B9 #B956D8
tetradic
#D8B956 #56D878 #5675D8 #D856B6
square
#D8B956 #56D878 #5675D8 #D856B6
split-complementary
#D8B956 #56B6D8 #7856D8
monochromatic
#927722 #C4A02D #D8B956 #E3CE88 #EFE2B9

Accessibility & contrast

On white

1.91
#D8B956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#D8B956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B956
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B956#FFFFFF#000000##000000
##D8B9561.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64C
Deuteranopia (green-blind)
#D3BF5A
Tritanopia (blue-blind)
#E8ACA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8b956;
/* rgb */ color: rgb(216, 185, 86);
/* oklch */ color: oklch(79.3% 0.123 92.0);
Tailwind
colors: {
  custom: {
    50: '#e7cd89',
    500: '#d8b956',
    950: '#000000',
  },
}
SCSS
$custom: #d8b956;
$custom-light: #e7cd89;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b956",
  "rgb": {
    "r": 216,
    "g": 185,
    "b": 86
  },
  "hsl": {
    "h": 45.692,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79349,
    "c": 0.12316,
    "h": 92
  },
  "luminance": 0.49969
}

Semantic roles & 50–950 ramp

primary
#D8B956
secondary
#ABB8DE
accent
#69E642
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D8B956

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

Preview Lab → · Contrast checker → · Palette generator →

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