#D3B541#D3B541

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

Color values

HEX#D3B541
RGBrgb(211, 181, 65)
HSLhsl(48, 62%, 54%)
HSVhsv(48, 69%, 83%)
CMYKcmyk(0%, 14.2%, 69.2%, 17.3%)
CIE-LABlab(74.37, -1.73, 60.48)
CIE-LCHlch(74.37, 60.51, 91.63°)
OKLaboklab(77.85% -0.0103 0.1354)
OKLCHoklch(77.85% 0.136 94.3)
XYZxyz(44.3442, 47.2807, 11.7904)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B541 #415FD3
analogous
#D36C41 #D3B541 #A8D341
triadic
#D3B541 #41D3B5 #B541D3
tetradic
#D3B541 #41D36C #415FD3 #D341A8
square
#D3B541 #41D36C #415FD3 #D341A8
split-complementary
#D3B541 #41A8D3 #6C41D3
monochromatic
#7D691D #AE9328 #D3B541 #DFC873 #EADCA4

Accessibility & contrast

On white

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

On black

10.46
#D3B541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B541
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B541#FFFFFF#000000##000000
##D3B5411.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B231
Deuteranopia (green-blind)
#CFBB47
Tritanopia (blue-blind)
#E4A79D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d3b541;
/* rgb */ color: rgb(211, 181, 65);
/* oklch */ color: oklch(77.9% 0.136 94.3);
Tailwind
colors: {
  custom: {
    50: '#e4ca7c',
    500: '#d3b541',
    950: '#000000',
  },
}
SCSS
$custom: #d3b541;
$custom-light: #e4ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b541",
  "rgb": {
    "r": 211,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 47.671,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77852,
    "c": 0.13578,
    "h": 94.3
  },
  "luminance": 0.47278
}

Semantic roles & 50–950 ramp

primary
#D3B541
secondary
#99A6D7
accent
#64E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B541

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

Preview Lab → · Contrast checker → · Palette generator →

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