#D4AC2D#D4AC2D

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

Color values

HEX#D4AC2D
RGBrgb(212, 172, 45)
HSLhsl(46, 66%, 50%)
HSVhsv(46, 79%, 83%)
CMYKcmyk(0%, 18.9%, 78.8%, 16.9%)
CIE-LABlab(72.02, 2.57, 65.68)
CIE-LCHlch(72.02, 65.73, 87.76°)
OKLaboklab(75.98% -0.0002 0.1425)
OKLCHoklch(75.98% 0.143 90.1)
XYZxyz(42.3801, 43.6943, 8.6838)
Luminance0.4369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AC2D #2D55D4
analogous
#D4592D #D4AC2D #A8D42D
triadic
#D4AC2D #2DD4AC #AC2DD4
tetradic
#D4AC2D #2DD459 #2D55D4 #D42DA8
square
#D4AC2D #2DD459 #2D55D4 #D42DA8
split-complementary
#D4AC2D #2DA8D4 #592DD4
monochromatic
#705A17 #A38421 #D4AC2D #DEC060 #E9D493

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4AC2D#FFFFFF#000000##000000
##D4AC2D1.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)
#C0AA10
Deuteranopia (green-blind)
#CAB535
Tritanopia (blue-blind)
#E69D94
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d4ac2d;
/* rgb */ color: rgb(212, 172, 45);
/* oklch */ color: oklch(76.0% 0.143 90.1);
Tailwind
colors: {
  custom: {
    50: '#e6c471',
    500: '#d4ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #d4ac2d;
$custom-light: #e6c471;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ac2d",
  "rgb": {
    "r": 212,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 45.629,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75983,
    "c": 0.14252,
    "h": 90.1
  },
  "luminance": 0.43692
}

Semantic roles & 50–950 ramp

primary
#D4AC2D
secondary
#899BD4
accent
#68E93F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D4AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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