#D4AC2A#D4AC2A

#D4AC2A is a light, vivid yellow. Relative luminance 0.437; OKLCH L 76.0% C 0.144 H 90.3°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#D4AC2A
RGBrgb(212, 172, 42)
HSLhsl(46, 67%, 50%)
HSVhsv(46, 80%, 83%)
CMYKcmyk(0%, 18.9%, 80.2%, 16.9%)
CIE-LABlab(72.01, 2.47, 66.63)
CIE-LCHlch(72.01, 66.68, 87.88°)
OKLaboklab(75.97% -0.0008 0.144)
OKLCHoklch(75.97% 0.144 90.3)
XYZxyz(42.3244, 43.6720, 8.3903)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AC2A #2A52D4
analogous
#D4572A #D4AC2A #A7D42A
triadic
#D4AC2A #2AD4AC #AC2AD4
tetradic
#D4AC2A #2AD457 #2A52D4 #D42AA7
square
#D4AC2A #2AD457 #2A52D4 #D42AA7
split-complementary
#D4AC2A #2AA7D4 #572AD4
monochromatic
#6E5916 #A18320 #D4AC2A #DFC05C #E9D48F

Accessibility & contrast

On white

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

On black

9.73
#D4AC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AC2A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AC2A#FFFFFF#000000##000000
##D4AC2A1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA06
Deuteranopia (green-blind)
#CAB532
Tritanopia (blue-blind)
#E69D94
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d4ac2a;
/* rgb */ color: rgb(212, 172, 42);
/* oklch */ color: oklch(76.0% 0.144 90.3);
Tailwind
colors: {
  custom: {
    50: '#e6c46f',
    500: '#d4ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #d4ac2a;
$custom-light: #e6c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ac2a",
  "rgb": {
    "r": 212,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 45.882,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75967,
    "c": 0.14395,
    "h": 90.3
  },
  "luminance": 0.43669
}

Semantic roles & 50–950 ramp

primary
#D4AC2A
secondary
#8699D3
accent
#66EA3E
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D4AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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