#D5AF40#D5AF40

#D5AF40 is a light, vivid orange. Relative luminance 0.452; OKLCH L 76.8% C 0.133 H 89.6°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#D5AF40
RGBrgb(213, 175, 64)
HSLhsl(45, 64%, 54%)
HSVhsv(45, 70%, 84%)
CMYKcmyk(0%, 17.8%, 70%, 16.5%)
CIE-LABlab(73.01, 2.24, 59.57)
CIE-LCHlch(73.01, 59.61, 87.84°)
OKLaboklab(76.82% 0.0009 0.1332)
OKLCHoklch(76.82% 0.133 89.6)
XYZxyz(43.6984, 45.1789, 11.2683)
Luminance0.4518 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5AF40 #4066D5
analogous
#D56540 #D5AF40 #B1D540
triadic
#D5AF40 #40D5AF #AF40D5
tetradic
#D5AF40 #40D565 #4066D5 #D540B1
square
#D5AF40 #40D565 #4066D5 #D540B1
split-complementary
#D5AF40 #40B1D5 #6540D5
monochromatic
#7F661C #B18E27 #D5AF40 #E0C472 #EBD9A4

Accessibility & contrast

On white

2.09
#D5AF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#D5AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5AF40
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5AF40#FFFFFF#000000##000000
##D5AF401.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD31
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#E6A198
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d5af40;
/* rgb */ color: rgb(213, 175, 64);
/* oklch */ color: oklch(76.8% 0.133 89.6);
Tailwind
colors: {
  custom: {
    50: '#e6c67b',
    500: '#d5af40',
    950: '#000000',
  },
}
SCSS
$custom: #d5af40;
$custom-light: #e6c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5af40",
  "rgb": {
    "r": 213,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 44.698,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76822,
    "c": 0.1332,
    "h": 89.6
  },
  "luminance": 0.45176
}

Semantic roles & 50–950 ramp

primary
#D5AF40
secondary
#99A9D8
accent
#6BE741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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