#D8B949#D8B949

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

Color values

HEX#D8B949
RGBrgb(216, 185, 73)
HSLhsl(47, 65%, 57%)
HSVhsv(47, 66%, 85%)
CMYKcmyk(0%, 14.4%, 66.2%, 15.3%)
CIE-LABlab(75.93, -1.24, 58.92)
CIE-LCHlch(75.93, 58.94, 91.20°)
OKLaboklab(79.22% -0.0082 0.1333)
OKLCHoklch(79.22% 0.134 93.5)
XYZxyz(46.8728, 49.7804, 13.4417)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B949 #4968D8
analogous
#D87249 #D8B949 #B0D849
triadic
#D8B949 #49D8B9 #B949D8
tetradic
#D8B949 #49D872 #4968D8 #D849B0
square
#D8B949 #49D872 #4968D8 #D849B0
split-complementary
#D8B949 #49B0D8 #7249D8
monochromatic
#89721D #BC9C28 #D8B949 #E3CC7B #EEE0AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8B949#FFFFFF#000000##000000
##D8B9491.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)
#CCB63B
Deuteranopia (green-blind)
#D3BF4F
Tritanopia (blue-blind)
#E9ABA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8b949;
/* rgb */ color: rgb(216, 185, 73);
/* oklch */ color: oklch(79.2% 0.134 93.5);
Tailwind
colors: {
  custom: {
    50: '#e8cd81',
    500: '#d8b949',
    950: '#000000',
  },
}
SCSS
$custom: #d8b949;
$custom-light: #e8cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b949",
  "rgb": {
    "r": 216,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 46.993,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79219,
    "c": 0.13352,
    "h": 93.5
  },
  "luminance": 0.49778
}

Semantic roles & 50–950 ramp

primary
#D8B949
secondary
#A1AEDC
accent
#64E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B949

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

Preview Lab → · Contrast checker → · Palette generator →

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