#D4AA2C#D4AA2C

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

Color values

HEX#D4AA2C
RGBrgb(212, 170, 44)
HSLhsl(45, 66%, 50%)
HSVhsv(45, 79%, 83%)
CMYKcmyk(0%, 19.8%, 79.2%, 16.9%)
CIE-LABlab(71.51, 3.60, 65.54)
CIE-LCHlch(71.51, 65.64, 86.86°)
OKLaboklab(75.58% 0.0026 0.142)
OKLCHoklch(75.58% 0.142 88.9)
XYZxyz(41.9833, 42.9312, 8.4577)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AA2C #2C56D4
analogous
#D4562C #D4AA2C #AAD42C
triadic
#D4AA2C #2CD4AA #AA2CD4
tetradic
#D4AA2C #2CD456 #2C56D4 #D42CAA
square
#D4AA2C #2CD456 #2C56D4 #D42CAA
split-complementary
#D4AA2C #2CAAD4 #562CD4
monochromatic
#6F5917 #A28221 #D4AA2C #DEBE5F #E9D392

Accessibility & contrast

On white

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

On black

9.59
#D4AA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AA2C
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AA2C#FFFFFF#000000##000000
##D4AA2C1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4aa2c;
/* rgb */ color: rgb(212, 170, 44);
/* oklch */ color: oklch(75.6% 0.142 88.9);
Tailwind
colors: {
  custom: {
    50: '#e6c270',
    500: '#d4aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #d4aa2c;
$custom-light: #e6c270;
$custom-dark: #000000;
JSON
{
  "hex": "#d4aa2c",
  "rgb": {
    "r": 212,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 45,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75576,
    "c": 0.14204,
    "h": 88.9
  },
  "luminance": 0.42928
}

Semantic roles & 50–950 ramp

primary
#D4AA2C
secondary
#889BD3
accent
#69E93F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D4AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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