#D5B945#D5B945

#D5B945 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.9% C 0.136 H 95.4°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#D5B945
RGBrgb(213, 185, 69)
HSLhsl(48, 63%, 55%)
HSVhsv(48, 68%, 84%)
CMYKcmyk(0%, 13.1%, 67.6%, 16.5%)
CIE-LABlab(75.62, -2.74, 60.19)
CIE-LCHlch(75.62, 60.25, 92.61°)
OKLaboklab(78.9% -0.0129 0.1354)
OKLCHoklch(78.9% 0.136 95.4)
XYZxyz(45.8659, 49.2761, 12.7244)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B945 #4561D5
analogous
#D57145 #D5B945 #A9D545
triadic
#D5B945 #45D5B9 #B945D5
tetradic
#D5B945 #45D571 #4561D5 #D545A9
square
#D5B945 #45D571 #4561D5 #D545A9
split-complementary
#D5B945 #45A9D5 #7145D5
monochromatic
#826F1D #B49929 #D5B945 #E0CC77 #ECDFA9

Accessibility & contrast

On white

1.93
#D5B945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#D5B945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B945
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B945#FFFFFF#000000##000000
##D5B9451.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB536
Deuteranopia (green-blind)
#D3BE4B
Tritanopia (blue-blind)
#E6ABA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d5b945;
/* rgb */ color: rgb(213, 185, 69);
/* oklch */ color: oklch(78.9% 0.136 95.4);
Tailwind
colors: {
  custom: {
    50: '#e6cd7f',
    500: '#d5b945',
    950: '#000000',
  },
}
SCSS
$custom: #d5b945;
$custom-light: #e6cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b945",
  "rgb": {
    "r": 213,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 48.333,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78897,
    "c": 0.13599,
    "h": 95.4
  },
  "luminance": 0.49274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5B945

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

Preview Lab → · Contrast checker → · Palette generator →

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