#D4AF37#D4AF37

#D4AF37 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.7% C 0.139 H 91.1°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#D4AF37
RGBrgb(212, 175, 55)
HSLhsl(46, 65%, 52%)
HSVhsv(46, 74%, 83%)
CMYKcmyk(0%, 17.5%, 74.1%, 16.9%)
CIE-LABlab(72.85, 1.38, 62.91)
CIE-LCHlch(72.85, 62.93, 88.74°)
OKLaboklab(76.65% -0.0026 0.1387)
OKLCHoklch(76.65% 0.139 91.1)
XYZxyz(43.1734, 44.9355, 10.0131)
Luminance0.4493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AF37 #375CD4
analogous
#D46137 #D4AF37 #AAD437
triadic
#D4AF37 #37D4AF #AF37D4
tetradic
#D4AF37 #37D461 #375CD4 #D437AA
square
#D4AF37 #37D461 #375CD4 #D437AA
split-complementary
#D4AF37 #37AAD4 #6137D4
monochromatic
#77611A #A98A24 #D4AF37 #DFC369 #EAD79C

Accessibility & contrast

On white

2.10
#D4AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#D4AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AF37
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AF37#FFFFFF#000000##000000
##D4AF371.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD23
Deuteranopia (green-blind)
#CCB73E
Tritanopia (blue-blind)
#E5A097
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d4af37;
/* rgb */ color: rgb(212, 175, 55);
/* oklch */ color: oklch(76.7% 0.139 91.1);
Tailwind
colors: {
  custom: {
    50: '#e6c676',
    500: '#d4af37',
    950: '#000000',
  },
}
SCSS
$custom: #d4af37;
$custom-light: #e6c676;
$custom-dark: #000000;
JSON
{
  "hex": "#d4af37",
  "rgb": {
    "r": 212,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 45.86,
    "s": 64.609,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76653,
    "c": 0.13867,
    "h": 91.1
  },
  "luminance": 0.44933
}

Semantic roles & 50–950 ramp

primary
#D4AF37
secondary
#91A1D6
accent
#68E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D4AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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