#D5AF36#D5AF36

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

Color values

HEX#D5AF36
RGBrgb(213, 175, 54)
HSLhsl(46, 65%, 52%)
HSVhsv(46, 75%, 84%)
CMYKcmyk(0%, 17.8%, 74.6%, 16.5%)
CIE-LABlab(72.94, 1.77, 63.41)
CIE-LCHlch(72.94, 63.43, 88.40°)
OKLaboklab(76.75% -0.0016 0.1395)
OKLCHoklch(76.75% 0.139 90.7)
XYZxyz(43.4389, 45.0751, 9.9017)
Luminance0.4507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5AF36 #365CD5
analogous
#D55F36 #D5AF36 #ACD536
triadic
#D5AF36 #36D5AF #AF36D5
tetradic
#D5AF36 #36D55F #365CD5 #D536AC
square
#D5AF36 #36D55F #365CD5 #D536AC
split-complementary
#D5AF36 #36ACD5 #5F36D5
monochromatic
#786119 #AA8A24 #D5AF36 #E0C369 #EAD79B

Accessibility & contrast

On white

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

On black

10.01
#D5AF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5AF36
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5AF36#FFFFFF#000000##000000
##D5AF361.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD21
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#E7A097
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d5af36;
/* rgb */ color: rgb(213, 175, 54);
/* oklch */ color: oklch(76.7% 0.139 90.7);
Tailwind
colors: {
  custom: {
    50: '#e6c675',
    500: '#d5af36',
    950: '#000000',
  },
}
SCSS
$custom: #d5af36;
$custom-light: #e6c675;
$custom-dark: #000000;
JSON
{
  "hex": "#d5af36",
  "rgb": {
    "r": 213,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 45.66,
    "s": 65.432,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76746,
    "c": 0.13948,
    "h": 90.7
  },
  "luminance": 0.45072
}

Semantic roles & 50–950 ramp

primary
#D5AF36
secondary
#91A1D6
accent
#68E83F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D5AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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