#D4AA2A#D4AA2A

#D4AA2A is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.6% C 0.143 H 89.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#D4AA2A
RGBrgb(212, 170, 42)
HSLhsl(45, 67%, 50%)
HSVhsv(45, 80%, 83%)
CMYKcmyk(0%, 19.8%, 80.2%, 16.9%)
CIE-LABlab(71.50, 3.53, 66.18)
CIE-LCHlch(71.50, 66.27, 86.95°)
OKLaboklab(75.57% 0.0023 0.143)
OKLCHoklch(75.57% 0.143 89.1)
XYZxyz(41.9466, 42.9165, 8.2644)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AA2A #2A54D4
analogous
#D4552A #D4AA2A #A9D42A
triadic
#D4AA2A #2AD4AA #AA2AD4
tetradic
#D4AA2A #2AD455 #2A54D4 #D42AA9
square
#D4AA2A #2AD455 #2A54D4 #D42AA9
split-complementary
#D4AA2A #2AA9D4 #552AD4
monochromatic
#6E5816 #A18120 #D4AA2A #DFBF5C #E9D38F

Accessibility & contrast

On white

2.19
#D4AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#D4AA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AA2A
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AA2A#FFFFFF#000000##000000
##D4AA2A1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA808
Deuteranopia (green-blind)
#C9B432
Tritanopia (blue-blind)
#E69B92
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d4aa2a;
/* rgb */ color: rgb(212, 170, 42);
/* oklch */ color: oklch(75.6% 0.143 89.1);
Tailwind
colors: {
  custom: {
    50: '#e6c26f',
    500: '#d4aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #d4aa2a;
$custom-light: #e6c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4aa2a",
  "rgb": {
    "r": 212,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 45.176,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75565,
    "c": 0.143,
    "h": 89.1
  },
  "luminance": 0.42914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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