#D8A54F#D8A54F

#D8A54F is a light, moderate orange. Relative luminance 0.421; OKLCH L 75.3% C 0.119 H 78.2°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#D8A54F
RGBrgb(216, 165, 79)
HSLhsl(38, 64%, 58%)
HSVhsv(38, 63%, 85%)
CMYKcmyk(0%, 23.6%, 63.4%, 15.3%)
CIE-LABlab(70.92, 9.72, 50.78)
CIE-LCHlch(70.92, 51.70, 79.16°)
OKLaboklab(75.29% 0.0243 0.1168)
OKLCHoklch(75.29% 0.119 78.2)
XYZxyz(43.1878, 42.0767, 13.2426)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A54F #4F82D8
analogous
#D8604F #D8A54F #C7D84F
triadic
#D8A54F #4FD8A5 #A54FD8
tetradic
#D8A54F #4FD860 #4F82D8 #D84FC7
square
#D8A54F #4FD860 #4F82D8 #D84FC7
split-complementary
#D8A54F #4FC7D8 #604FD8
monochromatic
#8D641F #BF882A #D8A54F #E3BF81 #EED8B3

Accessibility & contrast

On white

2.23
#D8A54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#D8A54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A54F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A54F#FFFFFF#000000##000000
##D8A54F1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A646
Deuteranopia (green-blind)
#C5B352
Tritanopia (blue-blind)
#EA9792
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d8a54f;
/* rgb */ color: rgb(216, 165, 79);
/* oklch */ color: oklch(75.3% 0.119 78.2);
Tailwind
colors: {
  custom: {
    50: '#e8bf83',
    500: '#d8a54f',
    950: '#000000',
  },
}
SCSS
$custom: #d8a54f;
$custom-light: #e8bf83;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a54f",
  "rgb": {
    "r": 216,
    "g": 165,
    "b": 79
  },
  "hsl": {
    "h": 37.664,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.75294,
    "c": 0.11931,
    "h": 78.2
  },
  "luminance": 0.42074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8A54F

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

Preview Lab → · Contrast checker → · Palette generator →

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