#D5B549#D5B549

#D5B549 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.1% C 0.130 H 92.5°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#D5B549
RGBrgb(213, 181, 73)
HSLhsl(46, 63%, 56%)
HSVhsv(46, 66%, 84%)
CMYKcmyk(0%, 15%, 65.7%, 16.5%)
CIE-LABlab(74.62, -0.42, 57.45)
CIE-LCHlch(74.62, 57.45, 90.42°)
OKLaboklab(78.12% -0.0057 0.1302)
OKLCHoklch(78.12% 0.13 92.5)
XYZxyz(45.1693, 47.6774, 13.1255)
Luminance0.4768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B549 #4969D5
analogous
#D56F49 #D5B549 #AFD549
triadic
#D5B549 #49D5B5 #B549D5
tetradic
#D5B549 #49D56F #4969D5 #D549AF
square
#D5B549 #49D56F #4969D5 #D549AF
split-complementary
#D5B549 #49AFD5 #6F49D5
monochromatic
#856E1F #B7972A #D5B549 #E0C97B #ECDDAC

Accessibility & contrast

On white

1.99
#D5B549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#D5B549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B549
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B549#FFFFFF#000000##000000
##D5B5491.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23C
Deuteranopia (green-blind)
#CFBC4E
Tritanopia (blue-blind)
#E6A79E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b549;
/* rgb */ color: rgb(213, 181, 73);
/* oklch */ color: oklch(78.1% 0.130 92.5);
Tailwind
colors: {
  custom: {
    50: '#e5ca81',
    500: '#d5b549',
    950: '#000000',
  },
}
SCSS
$custom: #d5b549;
$custom-light: #e5ca81;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b549",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 73
  },
  "hsl": {
    "h": 46.286,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78116,
    "c": 0.13035,
    "h": 92.5
  },
  "luminance": 0.47675
}

Semantic roles & 50–950 ramp

primary
#D5B549
secondary
#A0ADDA
accent
#68E642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B549

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

Preview Lab → · Contrast checker → · Palette generator →

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