#D8B94D#D8B94D

#D8B94D is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.3% C 0.130 H 93.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#D8B94D
RGBrgb(216, 185, 77)
HSLhsl(47, 64%, 57%)
HSVhsv(47, 64%, 85%)
CMYKcmyk(0%, 14.4%, 64.4%, 15.3%)
CIE-LABlab(75.97, -1.00, 57.23)
CIE-LCHlch(75.97, 57.24, 91.00°)
OKLaboklab(79.26% -0.0071 0.1303)
OKLCHoklch(79.26% 0.13 93.1)
XYZxyz(47.0097, 49.8352, 14.1628)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B94D #4D6CD8
analogous
#D8744D #D8B94D #B1D84D
triadic
#D8B94D #4DD8B9 #B94DD8
tetradic
#D8B94D #4DD874 #4D6CD8 #D84DB1
square
#D8B94D #4DD874 #4D6CD8 #D84DB1
split-complementary
#D8B94D #4DB1D8 #744DD8
monochromatic
#8C741F #BE9D2A #D8B94D #E3CD7F #EEE0B1

Accessibility & contrast

On white

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

On black

10.97
#D8B94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B94D
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B94D#FFFFFF#000000##000000
##D8B94D1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB641
Deuteranopia (green-blind)
#D3BF52
Tritanopia (blue-blind)
#E9ABA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8b94d;
/* rgb */ color: rgb(216, 185, 77);
/* oklch */ color: oklch(79.3% 0.130 93.1);
Tailwind
colors: {
  custom: {
    50: '#e7cd83',
    500: '#d8b94d',
    950: '#000000',
  },
}
SCSS
$custom: #d8b94d;
$custom-light: #e7cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b94d",
  "rgb": {
    "r": 216,
    "g": 185,
    "b": 77
  },
  "hsl": {
    "h": 46.619,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79256,
    "c": 0.13048,
    "h": 93.1
  },
  "luminance": 0.49833
}

Semantic roles & 50–950 ramp

primary
#D8B94D
secondary
#A4B1DC
accent
#66E741
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B94D

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

Preview Lab → · Contrast checker → · Palette generator →

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