#D8B74D#D8B74D

#D8B74D is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.9% C 0.129 H 91.8°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#D8B74D
RGBrgb(216, 183, 77)
HSLhsl(46, 64%, 57%)
HSVhsv(46, 64%, 85%)
CMYKcmyk(0%, 15.3%, 64.4%, 15.3%)
CIE-LABlab(75.45, 0.05, 56.68)
CIE-LCHlch(75.45, 56.68, 89.95°)
OKLaboklab(78.85% -0.0041 0.1291)
OKLCHoklch(78.85% 0.129 91.8)
XYZxyz(46.5942, 49.0043, 14.0243)
Luminance0.4900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B74D #4D6ED8
analogous
#D8714D #D8B74D #B4D84D
triadic
#D8B74D #4DD8B7 #B74DD8
tetradic
#D8B74D #4DD871 #4D6ED8 #D84DB4
square
#D8B74D #4DD871 #4D6ED8 #D84DB4
split-complementary
#D8B74D #4DB4D8 #714DD8
monochromatic
#8C721F #BE9B2A #D8B74D #E3CB7F #EEE0B1

Accessibility & contrast

On white

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

On black

10.80
#D8B74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B74D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B74D#FFFFFF#000000##000000
##D8B74D1.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB441
Deuteranopia (green-blind)
#D2BE52
Tritanopia (blue-blind)
#E9A9A0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8b74d;
/* rgb */ color: rgb(216, 183, 77);
/* oklch */ color: oklch(78.9% 0.129 91.8);
Tailwind
colors: {
  custom: {
    50: '#e7cc83',
    500: '#d8b74d',
    950: '#000000',
  },
}
SCSS
$custom: #d8b74d;
$custom-light: #e7cc83;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b74d",
  "rgb": {
    "r": 216,
    "g": 183,
    "b": 77
  },
  "hsl": {
    "h": 45.755,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78851,
    "c": 0.12917,
    "h": 91.8
  },
  "luminance": 0.49002
}

Semantic roles & 50–950 ramp

primary
#D8B74D
secondary
#A4B2DC
accent
#68E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B74D

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

Preview Lab → · Contrast checker → · Palette generator →

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