#D8B549#D8B549

#D8B549 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.4% C 0.131 H 91.0°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#D8B549
RGBrgb(216, 181, 73)
HSLhsl(45, 65%, 57%)
HSVhsv(45, 66%, 85%)
CMYKcmyk(0%, 16.2%, 66.2%, 15.3%)
CIE-LABlab(74.91, 0.86, 57.83)
CIE-LCHlch(74.91, 57.84, 89.15°)
OKLaboklab(78.41% -0.0022 0.131)
OKLCHoklch(78.41% 0.131 91)
XYZxyz(46.0477, 48.1303, 13.1667)
Luminance0.4813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B549 #496CD8
analogous
#D86E49 #D8B549 #B3D849
triadic
#D8B549 #49D8B5 #B549D8
tetradic
#D8B549 #49D86E #496CD8 #D849B3
square
#D8B549 #49D86E #496CD8 #D849B3
split-complementary
#D8B549 #49B3D8 #6E49D8
monochromatic
#896F1D #BC9828 #D8B549 #E3C97B #EEDEAE

Accessibility & contrast

On white

1.98
#D8B549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#D8B549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B549
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B549#FFFFFF#000000##000000
##D8B5491.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33C
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#E9A79E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8b549;
/* rgb */ color: rgb(216, 181, 73);
/* oklch */ color: oklch(78.4% 0.131 91.0);
Tailwind
colors: {
  custom: {
    50: '#e8ca81',
    500: '#d8b549',
    950: '#000000',
  },
}
SCSS
$custom: #d8b549;
$custom-light: #e8ca81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b549",
  "rgb": {
    "r": 216,
    "g": 181,
    "b": 73
  },
  "hsl": {
    "h": 45.315,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78408,
    "c": 0.13097,
    "h": 91
  },
  "luminance": 0.48128
}

Semantic roles & 50–950 ramp

primary
#D8B549
secondary
#A1AFDC
accent
#69E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #D8B549

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

Preview Lab → · Contrast checker → · Palette generator →

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