#D5B349#D5B349

#D5B349 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.7% C 0.129 H 91.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#D5B349
RGBrgb(213, 179, 73)
HSLhsl(45, 63%, 56%)
HSVhsv(45, 66%, 84%)
CMYKcmyk(0%, 16%, 65.7%, 16.5%)
CIE-LABlab(74.11, 0.63, 56.90)
CIE-LCHlch(74.11, 56.90, 89.37°)
OKLaboklab(77.71% -0.0027 0.1291)
OKLCHoklch(77.71% 0.129 91.2)
XYZxyz(44.7655, 46.8699, 12.9909)
Luminance0.4687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B349 #496BD5
analogous
#D56D49 #D5B349 #B1D549
triadic
#D5B349 #49D5B3 #B349D5
tetradic
#D5B349 #49D56D #496BD5 #D549B1
square
#D5B349 #49D56D #496BD5 #D549B1
split-complementary
#D5B349 #49B1D5 #6D49D5
monochromatic
#856C1F #B7952A #D5B349 #E0C87B #ECDDAC

Accessibility & contrast

On white

2.02
#D5B349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#D5B349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B349
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B349#FFFFFF#000000##000000
##D5B3491.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13C
Deuteranopia (green-blind)
#CEBA4E
Tritanopia (blue-blind)
#E6A59D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d5b349;
/* rgb */ color: rgb(213, 179, 73);
/* oklch */ color: oklch(77.7% 0.129 91.2);
Tailwind
colors: {
  custom: {
    50: '#e5c980',
    500: '#d5b349',
    950: '#000000',
  },
}
SCSS
$custom: #d5b349;
$custom-light: #e5c980;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b349",
  "rgb": {
    "r": 213,
    "g": 179,
    "b": 73
  },
  "hsl": {
    "h": 45.429,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.7771,
    "c": 0.12908,
    "h": 91.2
  },
  "luminance": 0.46867
}

Semantic roles & 50–950 ramp

primary
#D5B349
secondary
#A0AEDA
accent
#6AE642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B349

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

Preview Lab → · Contrast checker → · Palette generator →

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