#D8B954#D8B954

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

Color values

HEX#D8B954
RGBrgb(216, 185, 84)
HSLhsl(46, 63%, 59%)
HSVhsv(46, 61%, 85%)
CMYKcmyk(0%, 14.4%, 61.1%, 15.3%)
CIE-LABlab(76.03, -0.55, 54.17)
CIE-LCHlch(76.03, 54.17, 90.58°)
OKLaboklab(79.33% -0.0049 0.1248)
OKLCHoklch(79.33% 0.125 92.3)
XYZxyz(47.2703, 49.9394, 15.5352)
Luminance0.4994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B954 #5473D8
analogous
#D87754 #D8B954 #B5D854
triadic
#D8B954 #54D8B9 #B954D8
tetradic
#D8B954 #54D877 #5473D8 #D854B5
square
#D8B954 #54D877 #5473D8 #D854B5
split-complementary
#D8B954 #54B5D8 #7754D8
monochromatic
#917621 #C29F2C #D8B954 #E3CD86 #EFE2B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8B954#FFFFFF#000000##000000
##D8B9541.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)
#CBB649
Deuteranopia (green-blind)
#D3BF58
Tritanopia (blue-blind)
#E8ACA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8b954;
/* rgb */ color: rgb(216, 185, 84);
/* oklch */ color: oklch(79.3% 0.125 92.3);
Tailwind
colors: {
  custom: {
    50: '#e7cd88',
    500: '#d8b954',
    950: '#000000',
  },
}
SCSS
$custom: #d8b954;
$custom-light: #e7cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b954",
  "rgb": {
    "r": 216,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 45.909,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79328,
    "c": 0.12485,
    "h": 92.3
  },
  "luminance": 0.49937
}

Semantic roles & 50–950 ramp

primary
#D8B954
secondary
#AAB6DE
accent
#68E642
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D8B954

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

Preview Lab → · Contrast checker → · Palette generator →

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