#D8A04F#D8A04F

#D8A04F is a light, moderate orange. Relative luminance 0.403; OKLCH L 74.3% C 0.118 H 74.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#D8A04F
RGBrgb(216, 160, 79)
HSLhsl(35, 64%, 58%)
HSVhsv(35, 63%, 85%)
CMYKcmyk(0%, 25.9%, 63.4%, 15.3%)
CIE-LABlab(69.69, 12.41, 49.39)
CIE-LCHlch(69.69, 50.92, 75.90°)
OKLaboklab(74.33% 0.0322 0.1138)
OKLCHoklch(74.33% 0.118 74.2)
XYZxyz(42.3035, 40.3082, 12.9478)
Luminance0.4031 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A04F #4F87D8
analogous
#D85B4F #D8A04F #CCD84F
triadic
#D8A04F #4FD8A0 #A04FD8
tetradic
#D8A04F #4FD85B #4F87D8 #D84FCC
square
#D8A04F #4FD85B #4F87D8 #D84FCC
split-complementary
#D8A04F #4FCCD8 #5B4FD8
monochromatic
#8D601F #BF822A #D8A04F #E3BB81 #EED6B3

Accessibility & contrast

On white

2.32
#D8A04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#D8A04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A04F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A04F#FFFFFF#000000##000000
##D8A04F1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A247
Deuteranopia (green-blind)
#C2B051
Tritanopia (blue-blind)
#EA918E
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d8a04f;
/* rgb */ color: rgb(216, 160, 79);
/* oklch */ color: oklch(74.3% 0.118 74.2);
Tailwind
colors: {
  custom: {
    50: '#e8bc83',
    500: '#d8a04f',
    950: '#000000',
  },
}
SCSS
$custom: #d8a04f;
$custom-light: #e8bc83;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a04f",
  "rgb": {
    "r": 216,
    "g": 160,
    "b": 79
  },
  "hsl": {
    "h": 35.474,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.74327,
    "c": 0.11829,
    "h": 74.2
  },
  "luminance": 0.40305
}

Semantic roles & 50–950 ramp

primary
#D8A04F
secondary
#A6BCDD
accent
#85E741
background
#FEFBF8
surface
#FDF6EF
border
#D5D0CA
text
#17110B
muted
#85807C

Preview Lab

Preview with #D8A04F

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

Preview Lab → · Contrast checker → · Palette generator →

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