#D8AF40#D8AF40

#D8AF40 is a light, vivid orange. Relative luminance 0.456; OKLCH L 77.1% C 0.134 H 88.1°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#D8AF40
RGBrgb(216, 175, 64)
HSLhsl(44, 66%, 55%)
HSVhsv(44, 70%, 85%)
CMYKcmyk(0%, 19%, 70.4%, 15.3%)
CIE-LABlab(73.31, 3.53, 59.96)
CIE-LCHlch(73.31, 60.07, 86.63°)
OKLaboklab(77.12% 0.0044 0.1339)
OKLCHoklch(77.12% 0.134 88.1)
XYZxyz(44.5768, 45.6319, 11.3094)
Luminance0.4563 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8AF40 #4069D8
analogous
#D86340 #D8AF40 #B5D840
triadic
#D8AF40 #40D8AF #AF40D8
tetradic
#D8AF40 #40D863 #4069D8 #D840B5
square
#D8AF40 #40D863 #4069D8 #D840B5
split-complementary
#D8AF40 #40B5D8 #6340D8
monochromatic
#83671B #B68F25 #D8AF40 #E2C473 #EDDAA6

Accessibility & contrast

On white

2.07
#D8AF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#D8AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8AF40
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8AF40#FFFFFF#000000##000000
##D8AF401.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE31
Deuteranopia (green-blind)
#CDB945
Tritanopia (blue-blind)
#EAA098
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d8af40;
/* rgb */ color: rgb(216, 175, 64);
/* oklch */ color: oklch(77.1% 0.134 88.1);
Tailwind
colors: {
  custom: {
    50: '#e8c67b',
    500: '#d8af40',
    950: '#000000',
  },
}
SCSS
$custom: #d8af40;
$custom-light: #e8c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8af40",
  "rgb": {
    "r": 216,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 43.816,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77123,
    "c": 0.134,
    "h": 88.1
  },
  "luminance": 0.45629
}

Semantic roles & 50–950 ramp

primary
#D8AF40
secondary
#9AABDA
accent
#6DE93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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