#D3AA2C#D3AA2C

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

Color values

HEX#D3AA2C
RGBrgb(211, 170, 44)
HSLhsl(45, 65%, 50%)
HSVhsv(45, 79%, 83%)
CMYKcmyk(0%, 19.4%, 79.1%, 17.3%)
CIE-LABlab(71.41, 3.16, 65.41)
CIE-LCHlch(71.41, 65.49, 87.23°)
OKLaboklab(75.47% 0.0014 0.1418)
OKLCHoklch(75.47% 0.142 89.4)
XYZxyz(41.6959, 42.7829, 8.4442)
Luminance0.4278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AA2C #2C55D3
analogous
#D3562C #D3AA2C #A9D32C
triadic
#D3AA2C #2CD3AA #AA2CD3
tetradic
#D3AA2C #2CD356 #2C55D3 #D32CA9
square
#D3AA2C #2CD356 #2C55D3 #D32CA9
split-complementary
#D3AA2C #2CA9D3 #562CD3
monochromatic
#6E5817 #A08121 #D3AA2C #DEBE5F #E8D391

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3AA2C#FFFFFF#000000##000000
##D3AA2C1.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)
#BEA80F
Deuteranopia (green-blind)
#C8B434
Tritanopia (blue-blind)
#E59B92
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d3aa2c;
/* rgb */ color: rgb(211, 170, 44);
/* oklch */ color: oklch(75.5% 0.142 89.4);
Tailwind
colors: {
  custom: {
    50: '#e5c270',
    500: '#d3aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #d3aa2c;
$custom-light: #e5c270;
$custom-dark: #000000;
JSON
{
  "hex": "#d3aa2c",
  "rgb": {
    "r": 211,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 45.269,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.75473,
    "c": 0.14181,
    "h": 89.4
  },
  "luminance": 0.4278
}

Semantic roles & 50–950 ramp

primary
#D3AA2C
secondary
#889AD3
accent
#69E83F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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