#D8AF4F#D8AF4F

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

Color values

HEX#D8AF4F
RGBrgb(216, 175, 79)
HSLhsl(42, 64%, 58%)
HSVhsv(42, 63%, 85%)
CMYKcmyk(0%, 19%, 63.4%, 15.3%)
CIE-LABlab(73.43, 4.39, 53.57)
CIE-LCHlch(73.43, 53.75, 85.31°)
OKLaboklab(77.26% 0.0088 0.1228)
OKLCHoklch(77.26% 0.123 85.9)
XYZxyz(45.0625, 45.8261, 13.8675)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8AF4F #4F78D8
analogous
#D86A4F #D8AF4F #BCD84F
triadic
#D8AF4F #4FD8AF #AF4FD8
tetradic
#D8AF4F #4FD86A #4F78D8 #D84FBC
square
#D8AF4F #4FD86A #4F78D8 #D84FBC
split-complementary
#D8AF4F #4FBCD8 #6A4FD8
monochromatic
#8D6C1F #BF932A #D8AF4F #E3C681 #EEDDB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8AF4F#FFFFFF#000000##000000
##D8AF4F1.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)
#C2AE45
Deuteranopia (green-blind)
#CCB953
Tritanopia (blue-blind)
#E9A19A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d8af4f;
/* rgb */ color: rgb(216, 175, 79);
/* oklch */ color: oklch(77.3% 0.123 85.9);
Tailwind
colors: {
  custom: {
    50: '#e8c684',
    500: '#d8af4f',
    950: '#000000',
  },
}
SCSS
$custom: #d8af4f;
$custom-light: #e8c684;
$custom-dark: #000000;
JSON
{
  "hex": "#d8af4f",
  "rgb": {
    "r": 216,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 42.044,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77263,
    "c": 0.12309,
    "h": 85.9
  },
  "luminance": 0.45823
}

Semantic roles & 50–950 ramp

primary
#D8AF4F
secondary
#A6B6DD
accent
#73E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8AF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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