#D3AD2C#D3AD2C

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

Color values

HEX#D3AD2C
RGBrgb(211, 173, 44)
HSLhsl(46, 65%, 50%)
HSVhsv(46, 79%, 83%)
CMYKcmyk(0%, 18%, 79.1%, 17.3%)
CIE-LABlab(72.18, 1.57, 66.10)
CIE-LCHlch(72.18, 66.12, 88.64°)
OKLaboklab(76.08% -0.0031 0.1433)
OKLCHoklch(76.08% 0.143 91.2)
XYZxyz(42.2647, 43.9206, 8.6338)
Luminance0.4392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AD2C #2C52D3
analogous
#D3592C #D3AD2C #A6D32C
triadic
#D3AD2C #2CD3AD #AD2CD3
tetradic
#D3AD2C #2CD359 #2C52D3 #D32CA6
square
#D3AD2C #2CD359 #2C52D3 #D32CA6
split-complementary
#D3AD2C #2CA6D3 #592CD3
monochromatic
#6E5A17 #A08321 #D3AD2C #DEC15F #E8D491

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3AD2C#FFFFFF#000000##000000
##D3AD2C1.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)
#C1AB0D
Deuteranopia (green-blind)
#CAB534
Tritanopia (blue-blind)
#E59E95
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d3ad2c;
/* rgb */ color: rgb(211, 173, 44);
/* oklch */ color: oklch(76.1% 0.143 91.2);
Tailwind
colors: {
  custom: {
    50: '#e5c570',
    500: '#d3ad2c',
    950: '#000000',
  },
}
SCSS
$custom: #d3ad2c;
$custom-light: #e5c570;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ad2c",
  "rgb": {
    "r": 211,
    "g": 173,
    "b": 44
  },
  "hsl": {
    "h": 46.347,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.76079,
    "c": 0.14332,
    "h": 91.2
  },
  "luminance": 0.43918
}

Semantic roles & 50–950 ramp

primary
#D3AD2C
secondary
#8899D3
accent
#66E83F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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