#D5B845#D5B845

#D5B845 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.7% C 0.135 H 94.8°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#D5B845
RGBrgb(213, 184, 69)
HSLhsl(48, 63%, 55%)
HSVhsv(48, 68%, 84%)
CMYKcmyk(0%, 13.6%, 67.6%, 16.5%)
CIE-LABlab(75.36, -2.22, 59.92)
CIE-LCHlch(75.36, 59.96, 92.12°)
OKLaboklab(78.69% -0.0114 0.1348)
OKLCHoklch(78.69% 0.135 94.8)
XYZxyz(45.6575, 48.8592, 12.6549)
Luminance0.4886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B845 #4562D5
analogous
#D57045 #D5B845 #AAD545
triadic
#D5B845 #45D5B8 #B845D5
tetradic
#D5B845 #45D570 #4562D5 #D545AA
square
#D5B845 #45D570 #4562D5 #D545AA
split-complementary
#D5B845 #45AAD5 #7045D5
monochromatic
#826E1D #B49829 #D5B845 #E0CB77 #ECDEA9

Accessibility & contrast

On white

1.95
#D5B845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#D5B845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B845
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B845#FFFFFF#000000##000000
##D5B8451.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB436
Deuteranopia (green-blind)
#D2BD4B
Tritanopia (blue-blind)
#E6AAA0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d5b845;
/* rgb */ color: rgb(213, 184, 69);
/* oklch */ color: oklch(78.7% 0.135 94.8);
Tailwind
colors: {
  custom: {
    50: '#e6cd7f',
    500: '#d5b845',
    950: '#000000',
  },
}
SCSS
$custom: #d5b845;
$custom-light: #e6cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b845",
  "rgb": {
    "r": 213,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 47.917,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78692,
    "c": 0.13529,
    "h": 94.8
  },
  "luminance": 0.48857
}

Semantic roles & 50–950 ramp

primary
#D5B845
secondary
#9DA9D9
accent
#63E642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B845

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

Preview Lab → · Contrast checker → · Palette generator →

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