#D3AA2B#D3AA2B

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

Color values

HEX#D3AA2B
RGBrgb(211, 170, 43)
HSLhsl(45, 66%, 50%)
HSVhsv(45, 80%, 83%)
CMYKcmyk(0%, 19.4%, 79.6%, 17.3%)
CIE-LABlab(71.40, 3.13, 65.73)
CIE-LCHlch(71.40, 65.81, 87.28°)
OKLaboklab(75.47% 0.0013 0.1423)
OKLCHoklch(75.47% 0.142 89.5)
XYZxyz(41.6773, 42.7755, 8.3464)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AA2B #2B54D3
analogous
#D3562B #D3AA2B #A8D32B
triadic
#D3AA2B #2BD3AA #AA2BD3
tetradic
#D3AA2B #2BD356 #2B54D3 #D32BA8
square
#D3AA2B #2BD356 #2B54D3 #D32BA8
split-complementary
#D3AA2B #2BA8D3 #562BD3
monochromatic
#6D5816 #A08121 #D3AA2B #DEBF5D #E8D390

Accessibility & contrast

On white

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

On black

9.55
#D3AA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AA2B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AA2B#FFFFFF#000000##000000
##D3AA2B1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA80C
Deuteranopia (green-blind)
#C8B433
Tritanopia (blue-blind)
#E59B92
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d3aa2b;
/* rgb */ color: rgb(211, 170, 43);
/* oklch */ color: oklch(75.5% 0.142 89.5);
Tailwind
colors: {
  custom: {
    50: '#e5c26f',
    500: '#d3aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #d3aa2b;
$custom-light: #e5c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3aa2b",
  "rgb": {
    "r": 211,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 45.357,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75468,
    "c": 0.14229,
    "h": 89.5
  },
  "luminance": 0.42773
}

Semantic roles & 50–950 ramp

primary
#D3AA2B
secondary
#8799D3
accent
#68E93F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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