#D3AC2F#D3AC2F

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

Color values

HEX#D3AC2F
RGBrgb(211, 172, 47)
HSLhsl(46, 65%, 51%)
HSVhsv(46, 78%, 83%)
CMYKcmyk(0%, 18.5%, 77.7%, 17.3%)
CIE-LABlab(71.93, 2.21, 64.89)
CIE-LCHlch(71.93, 64.92, 88.05°)
OKLaboklab(75.89% -0.001 0.1413)
OKLCHoklch(75.89% 0.141 90.4)
XYZxyz(42.1321, 43.5619, 8.8779)
Luminance0.4356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AC2F #2F56D3
analogous
#D35A2F #D3AC2F #A8D32F
triadic
#D3AC2F #2FD3AC #AC2FD3
tetradic
#D3AC2F #2FD35A #2F56D3 #D32FA8
square
#D3AC2F #2FD35A #2F56D3 #D32FA8
split-complementary
#D3AC2F #2FA8D3 #5A2FD3
monochromatic
#705B18 #A28422 #D3AC2F #DEC062 #E8D494

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3AC2F#FFFFFF#000000##000000
##D3AC2F1.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)
#C0AA15
Deuteranopia (green-blind)
#CAB537
Tritanopia (blue-blind)
#E59D94
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d3ac2f;
/* rgb */ color: rgb(211, 172, 47);
/* oklch */ color: oklch(75.9% 0.141 90.4);
Tailwind
colors: {
  custom: {
    50: '#e5c472',
    500: '#d3ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #d3ac2f;
$custom-light: #e5c472;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ac2f",
  "rgb": {
    "r": 211,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 45.732,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75894,
    "c": 0.14129,
    "h": 90.4
  },
  "luminance": 0.43559
}

Semantic roles & 50–950 ramp

primary
#D3AC2F
secondary
#8A9CD3
accent
#68E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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