#D3AD2B#D3AD2B

#D3AD2B is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.1% C 0.144 H 91.3°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#D3AD2B
RGBrgb(211, 173, 43)
HSLhsl(46, 66%, 50%)
HSVhsv(46, 80%, 83%)
CMYKcmyk(0%, 18%, 79.6%, 17.3%)
CIE-LABlab(72.17, 1.54, 66.42)
CIE-LCHlch(72.17, 66.44, 88.68°)
OKLaboklab(76.07% -0.0033 0.1438)
OKLCHoklch(76.07% 0.144 91.3)
XYZxyz(42.2461, 43.9131, 8.5360)
Luminance0.4391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AD2B #2B51D3
analogous
#D3592B #D3AD2B #A5D32B
triadic
#D3AD2B #2BD3AD #AD2BD3
tetradic
#D3AD2B #2BD359 #2B51D3 #D32BA5
square
#D3AD2B #2BD359 #2B51D3 #D32BA5
split-complementary
#D3AD2B #2BA5D3 #592BD3
monochromatic
#6D5A16 #A08321 #D3AD2B #DEC15D #E8D490

Accessibility & contrast

On white

2.15
#D3AD2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#D3AD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AD2B
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AD2B#FFFFFF#000000##000000
##D3AD2B1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB09
Deuteranopia (green-blind)
#CAB533
Tritanopia (blue-blind)
#E59E95
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d3ad2b;
/* rgb */ color: rgb(211, 173, 43);
/* oklch */ color: oklch(76.1% 0.144 91.3);
Tailwind
colors: {
  custom: {
    50: '#e5c570',
    500: '#d3ad2b',
    950: '#000000',
  },
}
SCSS
$custom: #d3ad2b;
$custom-light: #e5c570;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ad2b",
  "rgb": {
    "r": 211,
    "g": 173,
    "b": 43
  },
  "hsl": {
    "h": 46.429,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76073,
    "c": 0.1438,
    "h": 91.3
  },
  "luminance": 0.4391
}

Semantic roles & 50–950 ramp

primary
#D3AD2B
secondary
#8798D3
accent
#65E93F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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