#D9B549#D9B549

#D9B549 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.5% C 0.131 H 90.5°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#D9B549
RGBrgb(217, 181, 73)
HSLhsl(45, 65%, 57%)
HSVhsv(45, 66%, 85%)
CMYKcmyk(0%, 16.6%, 66.4%, 14.9%)
CIE-LABlab(75.00, 1.28, 57.97)
CIE-LCHlch(75.00, 57.98, 88.73°)
OKLaboklab(78.51% -0.001 0.1312)
OKLCHoklch(78.51% 0.131 90.5)
XYZxyz(46.3441, 48.2832, 13.1806)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B549 #496DD9
analogous
#D96D49 #D9B549 #B5D949
triadic
#D9B549 #49D9B5 #B549D9
tetradic
#D9B549 #49D96D #496DD9 #D949B5
square
#D9B549 #49D96D #496DD9 #D949B5
split-complementary
#D9B549 #49B5D9 #6D49D9
monochromatic
#8B6F1D #BD9828 #D9B549 #E4CA7C #EEDEAE

Accessibility & contrast

On white

1.97
#D9B549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#D9B549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B549
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B549#FFFFFF#000000##000000
##D9B5491.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9b549;
/* rgb */ color: rgb(217, 181, 73);
/* oklch */ color: oklch(78.5% 0.131 90.5);
Tailwind
colors: {
  custom: {
    50: '#e8ca81',
    500: '#d9b549',
    950: '#000000',
  },
}
SCSS
$custom: #d9b549;
$custom-light: #e8ca81;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b549",
  "rgb": {
    "r": 217,
    "g": 181,
    "b": 73
  },
  "hsl": {
    "h": 45,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78506,
    "c": 0.1312,
    "h": 90.5
  },
  "luminance": 0.4828
}

Semantic roles & 50–950 ramp

primary
#D9B549
secondary
#A2B0DC
accent
#6AE83F
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #D9B549

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

Preview Lab → · Contrast checker → · Palette generator →

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