#D5B545#D5B545

#D5B545 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.1% C 0.133 H 93.0°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#D5B545
RGBrgb(213, 181, 69)
HSLhsl(47, 63%, 55%)
HSVhsv(47, 68%, 84%)
CMYKcmyk(0%, 15%, 67.6%, 16.5%)
CIE-LABlab(74.59, -0.65, 59.12)
CIE-LCHlch(74.59, 59.12, 90.63°)
OKLaboklab(78.08% -0.0069 0.1331)
OKLCHoklch(78.08% 0.133 93)
XYZxyz(45.0409, 47.6260, 12.4494)
Luminance0.4762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B545 #4565D5
analogous
#D56D45 #D5B545 #ADD545
triadic
#D5B545 #45D5B5 #B545D5
tetradic
#D5B545 #45D56D #4565D5 #D545AD
square
#D5B545 #45D56D #4565D5 #D545AD
split-complementary
#D5B545 #45ADD5 #6D45D5
monochromatic
#826C1D #B49529 #D5B545 #E0C977 #ECDDA9

Accessibility & contrast

On white

2.00
#D5B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#D5B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B545
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B545#FFFFFF#000000##000000
##D5B5451.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B237
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#E6A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d5b545;
/* rgb */ color: rgb(213, 181, 69);
/* oklch */ color: oklch(78.1% 0.133 93.0);
Tailwind
colors: {
  custom: {
    50: '#e6ca7e',
    500: '#d5b545',
    950: '#000000',
  },
}
SCSS
$custom: #d5b545;
$custom-light: #e6ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b545",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 46.667,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7808,
    "c": 0.13329,
    "h": 93
  },
  "luminance": 0.47624
}

Semantic roles & 50–950 ramp

primary
#D5B545
secondary
#9DAAD9
accent
#66E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B545

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

Preview Lab → · Contrast checker → · Palette generator →

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