#D5B345#D5B345

#D5B345 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.7% C 0.132 H 91.7°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#D5B345
RGBrgb(213, 179, 69)
HSLhsl(46, 63%, 55%)
HSVhsv(46, 68%, 84%)
CMYKcmyk(0%, 16%, 67.6%, 16.5%)
CIE-LABlab(74.07, 0.40, 58.58)
CIE-LCHlch(74.07, 58.58, 89.61°)
OKLaboklab(77.67% -0.0038 0.132)
OKLCHoklch(77.67% 0.132 91.7)
XYZxyz(44.6372, 46.8186, 12.3148)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B345 #4567D5
analogous
#D56B45 #D5B345 #AFD545
triadic
#D5B345 #45D5B3 #B345D5
tetradic
#D5B345 #45D56B #4567D5 #D545AF
square
#D5B345 #45D56B #4567D5 #D545AF
split-complementary
#D5B345 #45AFD5 #6B45D5
monochromatic
#826A1D #B49329 #D5B345 #E0C777 #ECDCA9

Accessibility & contrast

On white

2.03
#D5B345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#D5B345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B345
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B345#FFFFFF#000000##000000
##D5B3451.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B037
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#E6A59C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d5b345;
/* rgb */ color: rgb(213, 179, 69);
/* oklch */ color: oklch(77.7% 0.132 91.7);
Tailwind
colors: {
  custom: {
    50: '#e6c97e',
    500: '#d5b345',
    950: '#000000',
  },
}
SCSS
$custom: #d5b345;
$custom-light: #e6c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b345",
  "rgb": {
    "r": 213,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 45.833,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77673,
    "c": 0.13203,
    "h": 91.7
  },
  "luminance": 0.46816
}

Semantic roles & 50–950 ramp

primary
#D5B345
secondary
#9DABD9
accent
#68E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B345

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

Preview Lab → · Contrast checker → · Palette generator →

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