#D4AC2C#D4AC2C

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

Color values

HEX#D4AC2C
RGBrgb(212, 172, 44)
HSLhsl(46, 66%, 50%)
HSVhsv(46, 79%, 83%)
CMYKcmyk(0%, 18.9%, 79.2%, 16.9%)
CIE-LABlab(72.02, 2.54, 66.00)
CIE-LCHlch(72.02, 66.05, 87.80°)
OKLaboklab(75.98% -0.0004 0.143)
OKLCHoklch(75.98% 0.143 90.2)
XYZxyz(42.3611, 43.6867, 8.5836)
Luminance0.4368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AC2C #2C54D4
analogous
#D4582C #D4AC2C #A8D42C
triadic
#D4AC2C #2CD4AC #AC2CD4
tetradic
#D4AC2C #2CD458 #2C54D4 #D42CA8
square
#D4AC2C #2CD458 #2C54D4 #D42CA8
split-complementary
#D4AC2C #2CA8D4 #582CD4
monochromatic
#6F5A17 #A28321 #D4AC2C #DEC05F #E9D492

Accessibility & contrast

On white

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

On black

9.74
#D4AC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AC2C
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AC2C#FFFFFF#000000##000000
##D4AC2C1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4ac2c;
/* rgb */ color: rgb(212, 172, 44);
/* oklch */ color: oklch(76.0% 0.143 90.2);
Tailwind
colors: {
  custom: {
    50: '#e6c470',
    500: '#d4ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #d4ac2c;
$custom-light: #e6c470;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ac2c",
  "rgb": {
    "r": 212,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 45.714,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75978,
    "c": 0.14301,
    "h": 90.2
  },
  "luminance": 0.43684
}

Semantic roles & 50–950 ramp

primary
#D4AC2C
secondary
#889AD3
accent
#67E93F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D4AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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