#D8B94C#D8B94C

#D8B94C is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.2% C 0.131 H 93.2°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#D8B94C
RGBrgb(216, 185, 76)
HSLhsl(47, 64%, 57%)
HSVhsv(47, 65%, 85%)
CMYKcmyk(0%, 14.4%, 64.8%, 15.3%)
CIE-LABlab(75.96, -1.06, 57.66)
CIE-LCHlch(75.96, 57.67, 91.05°)
OKLaboklab(79.25% -0.0074 0.131)
OKLCHoklch(79.25% 0.131 93.2)
XYZxyz(46.9746, 49.8212, 13.9783)
Luminance0.4982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B94C #4C6BD8
analogous
#D8734C #D8B94C #B1D84C
triadic
#D8B94C #4CD8B9 #B94CD8
tetradic
#D8B94C #4CD873 #4C6BD8 #D84CB1
square
#D8B94C #4CD873 #4C6BD8 #D84CB1
split-complementary
#D8B94C #4CB1D8 #734CD8
monochromatic
#8B731E #BE9D29 #D8B94C #E3CD7E #EEE0B1

Accessibility & contrast

On white

1.92
#D8B94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#D8B94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B94C
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B94C#FFFFFF#000000##000000
##D8B94C1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8b94c;
/* rgb */ color: rgb(216, 185, 76);
/* oklch */ color: oklch(79.2% 0.131 93.2);
Tailwind
colors: {
  custom: {
    50: '#e7cd83',
    500: '#d8b94c',
    950: '#000000',
  },
}
SCSS
$custom: #d8b94c;
$custom-light: #e7cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b94c",
  "rgb": {
    "r": 216,
    "g": 185,
    "b": 76
  },
  "hsl": {
    "h": 46.714,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79247,
    "c": 0.13125,
    "h": 93.2
  },
  "luminance": 0.49819
}

Semantic roles & 50–950 ramp

primary
#D8B94C
secondary
#A4B0DC
accent
#65E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B94C

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

Preview Lab → · Contrast checker → · Palette generator →

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