#D3AD3B#D3AD3B

#D3AD3B is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.2% C 0.135 H 89.9°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#D3AD3B
RGBrgb(211, 173, 59)
HSLhsl(45, 63%, 53%)
HSVhsv(45, 72%, 83%)
CMYKcmyk(0%, 18%, 72%, 17.3%)
CIE-LABlab(72.26, 2.19, 60.77)
CIE-LCHlch(72.26, 60.81, 87.94°)
OKLaboklab(76.18% 0.0003 0.1349)
OKLCHoklch(76.18% 0.135 89.9)
XYZxyz(42.5994, 44.0544, 10.3964)
Luminance0.4405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AD3B #3B61D3
analogous
#D3613B #D3AD3B #ADD33B
triadic
#D3AD3B #3BD3AD #AD3BD3
tetradic
#D3AD3B #3BD361 #3B61D3 #D33BAD
square
#D3AD3B #3BD361 #3B61D3 #D33BAD
split-complementary
#D3AD3B #3BADD3 #613BD3
monochromatic
#79611B #AB8926 #D3AD3B #DEC26D #E9D79F

Accessibility & contrast

On white

2.14
#D3AD3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#D3AD3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AD3B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AD3B#FFFFFF#000000##000000
##D3AD3B1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2A
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#E49F96
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d3ad3b;
/* rgb */ color: rgb(211, 173, 59);
/* oklch */ color: oklch(76.2% 0.135 89.9);
Tailwind
colors: {
  custom: {
    50: '#e5c578',
    500: '#d3ad3b',
    950: '#000000',
  },
}
SCSS
$custom: #d3ad3b;
$custom-light: #e5c578;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ad3b",
  "rgb": {
    "r": 211,
    "g": 173,
    "b": 59
  },
  "hsl": {
    "h": 45,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76178,
    "c": 0.13491,
    "h": 89.9
  },
  "luminance": 0.44052
}

Semantic roles & 50–950 ramp

primary
#D3AD3B
secondary
#94A4D6
accent
#6BE641
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D3AD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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