#D8B94B#D8B94B

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

Color values

HEX#D8B94B
RGBrgb(216, 185, 75)
HSLhsl(47, 64%, 57%)
HSVhsv(47, 65%, 85%)
CMYKcmyk(0%, 14.4%, 65.3%, 15.3%)
CIE-LABlab(75.95, -1.12, 58.08)
CIE-LCHlch(75.95, 58.09, 91.11°)
OKLaboklab(79.24% -0.0077 0.1318)
OKLCHoklch(79.24% 0.132 93.3)
XYZxyz(46.9401, 49.8074, 13.7966)
Luminance0.4980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B94B #4B6AD8
analogous
#D8734B #D8B94B #B0D84B
triadic
#D8B94B #4BD8B9 #B94BD8
tetradic
#D8B94B #4BD873 #4B6AD8 #D84BB0
square
#D8B94B #4BD873 #4B6AD8 #D84BB0
split-complementary
#D8B94B #4BB0D8 #734BD8
monochromatic
#8B731E #BD9C29 #D8B94B #E3CD7D #EEE0B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8B94B#FFFFFF#000000##000000
##D8B94B1.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)
#CCB63E
Deuteranopia (green-blind)
#D3BF50
Tritanopia (blue-blind)
#E9ABA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8b94b;
/* rgb */ color: rgb(216, 185, 75);
/* oklch */ color: oklch(79.2% 0.132 93.3);
Tailwind
colors: {
  custom: {
    50: '#e8cd82',
    500: '#d8b94b',
    950: '#000000',
  },
}
SCSS
$custom: #d8b94b;
$custom-light: #e8cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b94b",
  "rgb": {
    "r": 216,
    "g": 185,
    "b": 75
  },
  "hsl": {
    "h": 46.809,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79237,
    "c": 0.13201,
    "h": 93.3
  },
  "luminance": 0.49805
}

Semantic roles & 50–950 ramp

primary
#D8B94B
secondary
#A3AFDC
accent
#65E740
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B94B

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

Preview Lab → · Contrast checker → · Palette generator →

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