#D4AF39#D4AF39

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

Color values

HEX#D4AF39
RGBrgb(212, 175, 57)
HSLhsl(46, 64%, 53%)
HSVhsv(46, 73%, 83%)
CMYKcmyk(0%, 17.5%, 73.1%, 16.9%)
CIE-LABlab(72.86, 1.47, 62.17)
CIE-LCHlch(72.86, 62.19, 88.65°)
OKLaboklab(76.67% -0.0021 0.1375)
OKLCHoklch(76.67% 0.137 90.9)
XYZxyz(43.2223, 44.9550, 10.2707)
Luminance0.4495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AF39 #395ED4
analogous
#D46139 #D4AF39 #ACD439
triadic
#D4AF39 #39D4AF #AF39D4
tetradic
#D4AF39 #39D461 #395ED4 #D439AC
square
#D4AF39 #39D461 #395ED4 #D439AC
split-complementary
#D4AF39 #39ACD4 #6139D4
monochromatic
#78621A #AB8B25 #D4AF39 #DFC36B #EAD89E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4AF39#FFFFFF#000000##000000
##D4AF391.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)
#C3AD27
Deuteranopia (green-blind)
#CCB73F
Tritanopia (blue-blind)
#E5A098
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d4af39;
/* rgb */ color: rgb(212, 175, 57);
/* oklch */ color: oklch(76.7% 0.137 90.9);
Tailwind
colors: {
  custom: {
    50: '#e5c677',
    500: '#d4af39',
    950: '#000000',
  },
}
SCSS
$custom: #d4af39;
$custom-light: #e5c677;
$custom-dark: #000000;
JSON
{
  "hex": "#d4af39",
  "rgb": {
    "r": 212,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 45.677,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76667,
    "c": 0.13748,
    "h": 90.9
  },
  "luminance": 0.44952
}

Semantic roles & 50–950 ramp

primary
#D4AF39
secondary
#93A3D6
accent
#68E740
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D4AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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