#D9B548#D9B548

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

Color values

HEX#D9B548
RGBrgb(217, 181, 72)
HSLhsl(45, 66%, 57%)
HSVhsv(45, 67%, 85%)
CMYKcmyk(0%, 16.6%, 66.8%, 14.9%)
CIE-LABlab(74.99, 1.23, 58.39)
CIE-LCHlch(74.99, 58.40, 88.80°)
OKLaboklab(78.5% -0.0013 0.1319)
OKLCHoklch(78.5% 0.132 90.6)
XYZxyz(46.3112, 48.2700, 13.0074)
Luminance0.4827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B548 #486CD9
analogous
#D96C48 #D9B548 #B5D948
triadic
#D9B548 #48D9B5 #B548D9
tetradic
#D9B548 #48D96C #486CD9 #D948B5
square
#D9B548 #48D96C #486CD9 #D948B5
split-complementary
#D9B548 #48B5D9 #6C48D9
monochromatic
#8A6F1D #BD9827 #D9B548 #E4C97B #EEDEAD

Accessibility & contrast

On white

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

On black

10.65
#D9B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B548
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B548#FFFFFF#000000##000000
##D9B5481.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9b548;
/* rgb */ color: rgb(217, 181, 72);
/* oklch */ color: oklch(78.5% 0.132 90.6);
Tailwind
colors: {
  custom: {
    50: '#e8ca80',
    500: '#d9b548',
    950: '#000000',
  },
}
SCSS
$custom: #d9b548;
$custom-light: #e8ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b548",
  "rgb": {
    "r": 217,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 45.103,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78497,
    "c": 0.13194,
    "h": 90.6
  },
  "luminance": 0.48267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9B548

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

Preview Lab → · Contrast checker → · Palette generator →

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