#D5AF37#D5AF37

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

Color values

HEX#D5AF37
RGBrgb(213, 175, 55)
HSLhsl(46, 65%, 53%)
HSVhsv(46, 74%, 84%)
CMYKcmyk(0%, 17.8%, 74.2%, 16.5%)
CIE-LABlab(72.95, 1.81, 63.04)
CIE-LCHlch(72.95, 63.07, 88.35°)
OKLaboklab(76.75% -0.0014 0.1389)
OKLCHoklch(76.75% 0.139 90.6)
XYZxyz(43.4626, 45.0846, 10.0267)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5AF37 #375DD5
analogous
#D56037 #D5AF37 #ACD537
triadic
#D5AF37 #37D5AF #AF37D5
tetradic
#D5AF37 #37D560 #375DD5 #D537AC
square
#D5AF37 #37D560 #375DD5 #D537AC
split-complementary
#D5AF37 #37ACD5 #6037D5
monochromatic
#786119 #AB8A24 #D5AF37 #E0C36A #EAD79C

Accessibility & contrast

On white

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

On black

10.02
#D5AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5AF37
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5AF37#FFFFFF#000000##000000
##D5AF371.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5af37;
/* rgb */ color: rgb(213, 175, 55);
/* oklch */ color: oklch(76.8% 0.139 90.6);
Tailwind
colors: {
  custom: {
    50: '#e6c676',
    500: '#d5af37',
    950: '#000000',
  },
}
SCSS
$custom: #d5af37;
$custom-light: #e6c676;
$custom-dark: #000000;
JSON
{
  "hex": "#d5af37",
  "rgb": {
    "r": 213,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 45.57,
    "s": 65.289,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76753,
    "c": 0.13889,
    "h": 90.6
  },
  "luminance": 0.45082
}

Semantic roles & 50–950 ramp

primary
#D5AF37
secondary
#92A2D6
accent
#68E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D5AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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