#D9AF40#D9AF40

#D9AF40 is a light, vivid orange. Relative luminance 0.458; OKLCH L 77.2% C 0.134 H 87.6°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#D9AF40
RGBrgb(217, 175, 64)
HSLhsl(44, 67%, 55%)
HSVhsv(44, 71%, 85%)
CMYKcmyk(0%, 19.4%, 70.5%, 14.9%)
CIE-LABlab(73.41, 3.96, 60.10)
CIE-LCHlch(73.41, 60.23, 86.23°)
OKLaboklab(77.22% 0.0056 0.1342)
OKLCHoklch(77.22% 0.134 87.6)
XYZxyz(44.8732, 45.7847, 11.3233)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9AF40 #406AD9
analogous
#D96240 #D9AF40 #B7D940
triadic
#D9AF40 #40D9AF #AF40D9
tetradic
#D9AF40 #40D962 #406AD9 #D940B7
square
#D9AF40 #40D962 #406AD9 #D940B7
split-complementary
#D9AF40 #40B7D9 #6240D9
monochromatic
#84671A #B78F24 #D9AF40 #E3C473 #EDDAA6

Accessibility & contrast

On white

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

On black

10.16
#D9AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9AF40
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9AF40#FFFFFF#000000##000000
##D9AF401.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9af40;
/* rgb */ color: rgb(217, 175, 64);
/* oklch */ color: oklch(77.2% 0.134 87.6);
Tailwind
colors: {
  custom: {
    50: '#e9c67b',
    500: '#d9af40',
    950: '#000000',
  },
}
SCSS
$custom: #d9af40;
$custom-light: #e9c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9af40",
  "rgb": {
    "r": 217,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 43.529,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77225,
    "c": 0.1343,
    "h": 87.6
  },
  "luminance": 0.45782
}

Semantic roles & 50–950 ramp

primary
#D9AF40
secondary
#9AACDA
accent
#6DEA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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