#D3B545#D3B545

#D3B545 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.9% C 0.133 H 94.0°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#D3B545
RGBrgb(211, 181, 69)
HSLhsl(47, 62%, 55%)
HSVhsv(47, 67%, 83%)
CMYKcmyk(0%, 14.2%, 67.3%, 17.3%)
CIE-LABlab(74.40, -1.51, 58.86)
CIE-LCHlch(74.40, 58.88, 91.47°)
OKLaboklab(77.89% -0.0092 0.1326)
OKLCHoklch(77.89% 0.133 94)
XYZxyz(44.4642, 47.3287, 12.4224)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B545 #4563D3
analogous
#D36E45 #D3B545 #AAD345
triadic
#D3B545 #45D3B5 #B545D3
tetradic
#D3B545 #45D36E #4563D3 #D345AA
square
#D3B545 #45D36E #4563D3 #D345AA
split-complementary
#D3B545 #45AAD3 #6E45D3
monochromatic
#7F6B1E #B1942A #D3B545 #DFC976 #EADCA8

Accessibility & contrast

On white

2.01
#D3B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#D3B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B545
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B545#FFFFFF#000000##000000
##D3B5451.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B237
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#E3A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d3b545;
/* rgb */ color: rgb(211, 181, 69);
/* oklch */ color: oklch(77.9% 0.133 94.0);
Tailwind
colors: {
  custom: {
    50: '#e4ca7e',
    500: '#d3b545',
    950: '#000000',
  },
}
SCSS
$custom: #d3b545;
$custom-light: #e4ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b545",
  "rgb": {
    "r": 211,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 47.324,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77886,
    "c": 0.13295,
    "h": 94
  },
  "luminance": 0.47326
}

Semantic roles & 50–950 ramp

primary
#D3B545
secondary
#9CA9D8
accent
#65E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B545

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

Preview Lab → · Contrast checker → · Palette generator →

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