#D3AC2C#D3AC2C

#D3AC2C is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.9% C 0.143 H 90.6°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#D3AC2C
RGBrgb(211, 172, 44)
HSLhsl(46, 65%, 50%)
HSVhsv(46, 79%, 83%)
CMYKcmyk(0%, 18.5%, 79.1%, 17.3%)
CIE-LABlab(71.92, 2.10, 65.87)
CIE-LCHlch(71.92, 65.91, 88.17°)
OKLaboklab(75.88% -0.0016 0.1428)
OKLCHoklch(75.88% 0.143 90.6)
XYZxyz(42.0736, 43.5385, 8.5701)
Luminance0.4354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AC2C #2C53D3
analogous
#D3592C #D3AC2C #A6D32C
triadic
#D3AC2C #2CD3AC #AC2CD3
tetradic
#D3AC2C #2CD359 #2C53D3 #D32CA6
square
#D3AC2C #2CD359 #2C53D3 #D32CA6
split-complementary
#D3AC2C #2CA6D3 #592CD3
monochromatic
#6E5917 #A08321 #D3AC2C #DEC05F #E8D491

Accessibility & contrast

On white

2.16
#D3AC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#D3AC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AC2C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AC2C#FFFFFF#000000##000000
##D3AC2C1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA0D
Deuteranopia (green-blind)
#CAB534
Tritanopia (blue-blind)
#E59D94
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d3ac2c;
/* rgb */ color: rgb(211, 172, 44);
/* oklch */ color: oklch(75.9% 0.143 90.6);
Tailwind
colors: {
  custom: {
    50: '#e5c470',
    500: '#d3ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #d3ac2c;
$custom-light: #e5c470;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ac2c",
  "rgb": {
    "r": 211,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 45.988,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.75876,
    "c": 0.1428,
    "h": 90.6
  },
  "luminance": 0.43536
}

Semantic roles & 50–950 ramp

primary
#D3AC2C
secondary
#8899D3
accent
#67E83F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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