#D3AA2F#D3AA2F

#D3AA2F is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.5% C 0.140 H 89.2°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#D3AA2F
RGBrgb(211, 170, 47)
HSLhsl(45, 65%, 51%)
HSVhsv(45, 78%, 83%)
CMYKcmyk(0%, 19.4%, 77.7%, 17.3%)
CIE-LABlab(71.42, 3.27, 64.42)
CIE-LCHlch(71.42, 64.50, 87.09°)
OKLaboklab(75.49% 0.0021 0.1403)
OKLCHoklch(75.49% 0.14 89.2)
XYZxyz(41.7543, 42.8063, 8.7520)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AA2F #2F58D3
analogous
#D3582F #D3AA2F #AAD32F
triadic
#D3AA2F #2FD3AA #AA2FD3
tetradic
#D3AA2F #2FD358 #2F58D3 #D32FAA
square
#D3AA2F #2FD358 #2F58D3 #D32FAA
split-complementary
#D3AA2F #2FAAD3 #582FD3
monochromatic
#705A18 #A28222 #D3AA2F #DEBF62 #E8D394

Accessibility & contrast

On white

2.20
#D3AA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#D3AA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AA2F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AA2F#FFFFFF#000000##000000
##D3AA2F1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA816
Deuteranopia (green-blind)
#C8B436
Tritanopia (blue-blind)
#E59B93
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d3aa2f;
/* rgb */ color: rgb(211, 170, 47);
/* oklch */ color: oklch(75.5% 0.140 89.2);
Tailwind
colors: {
  custom: {
    50: '#e5c271',
    500: '#d3aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #d3aa2f;
$custom-light: #e5c271;
$custom-dark: #000000;
JSON
{
  "hex": "#d3aa2f",
  "rgb": {
    "r": 211,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 45,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75491,
    "c": 0.1403,
    "h": 89.2
  },
  "luminance": 0.42804
}

Semantic roles & 50–950 ramp

primary
#D3AA2F
secondary
#8A9DD3
accent
#6AE840
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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