#D8B754#D8B754

#D8B754 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.9% C 0.124 H 90.9°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#D8B754
RGBrgb(216, 183, 84)
HSLhsl(45, 63%, 59%)
HSVhsv(45, 61%, 85%)
CMYKcmyk(0%, 15.3%, 61.1%, 15.3%)
CIE-LABlab(75.52, 0.50, 53.59)
CIE-LCHlch(75.52, 53.60, 89.46°)
OKLaboklab(78.92% -0.0019 0.1235)
OKLCHoklch(78.92% 0.124 90.9)
XYZxyz(46.8548, 49.1085, 15.3967)
Luminance0.4911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B754 #5475D8
analogous
#D87554 #D8B754 #B7D854
triadic
#D8B754 #54D8B7 #B754D8
tetradic
#D8B754 #54D875 #5475D8 #D854B7
square
#D8B754 #54D875 #5475D8 #D854B7
split-complementary
#D8B754 #54B7D8 #7554D8
monochromatic
#917521 #C29D2C #D8B754 #E3CC86 #EFE1B8

Accessibility & contrast

On white

1.94
#D8B754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#D8B754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B754
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B754#FFFFFF#000000##000000
##D8B7541.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54A
Deuteranopia (green-blind)
#D1BE58
Tritanopia (blue-blind)
#E8AAA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8b754;
/* rgb */ color: rgb(216, 183, 84);
/* oklch */ color: oklch(78.9% 0.124 90.9);
Tailwind
colors: {
  custom: {
    50: '#e7cc88',
    500: '#d8b754',
    950: '#000000',
  },
}
SCSS
$custom: #d8b754;
$custom-light: #e7cc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b754",
  "rgb": {
    "r": 216,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 45,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.78922,
    "c": 0.12353,
    "h": 90.9
  },
  "luminance": 0.49106
}

Semantic roles & 50–950 ramp

primary
#D8B754
secondary
#AAB7DE
accent
#6BE642
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D8B754

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

Preview Lab → · Contrast checker → · Palette generator →

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