#D8A74F#D8A74F

#D8A74F is a light, moderate orange. Relative luminance 0.428; OKLCH L 75.7% C 0.120 H 79.8°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#D8A74F
RGBrgb(216, 167, 79)
HSLhsl(39, 64%, 58%)
HSVhsv(39, 63%, 85%)
CMYKcmyk(0%, 22.7%, 63.4%, 15.3%)
CIE-LABlab(71.42, 8.65, 51.33)
CIE-LCHlch(71.42, 52.06, 80.43°)
OKLaboklab(75.68% 0.0212 0.118)
OKLCHoklch(75.68% 0.12 79.8)
XYZxyz(43.5514, 42.8038, 13.3637)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A74F #4F80D8
analogous
#D8624F #D8A74F #C5D84F
triadic
#D8A74F #4FD8A7 #A74FD8
tetradic
#D8A74F #4FD862 #4F80D8 #D84FC5
square
#D8A74F #4FD862 #4F80D8 #D84FC5
split-complementary
#D8A74F #4FC5D8 #624FD8
monochromatic
#8D661F #BF8A2A #D8A74F #E3C081 #EED9B3

Accessibility & contrast

On white

2.20
#D8A74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#D8A74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A74F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A74F#FFFFFF#000000##000000
##D8A74F1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA846
Deuteranopia (green-blind)
#C6B452
Tritanopia (blue-blind)
#E99994
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d8a74f;
/* rgb */ color: rgb(216, 167, 79);
/* oklch */ color: oklch(75.7% 0.120 79.8);
Tailwind
colors: {
  custom: {
    50: '#e8c083',
    500: '#d8a74f',
    950: '#000000',
  },
}
SCSS
$custom: #d8a74f;
$custom-light: #e8c083;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a74f",
  "rgb": {
    "r": 216,
    "g": 167,
    "b": 79
  },
  "hsl": {
    "h": 38.54,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.75684,
    "c": 0.11989,
    "h": 79.8
  },
  "luminance": 0.42801
}

Semantic roles & 50–950 ramp

primary
#D8A74F
secondary
#A6BADD
accent
#7CE741
background
#FEFBF8
surface
#FDF7EF
border
#D5D0CA
text
#17120B
muted
#85817C

Preview Lab

Preview with #D8A74F

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

Preview Lab → · Contrast checker → · Palette generator →

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