#D8A64F#D8A64F

#D8A64F is a light, moderate orange. Relative luminance 0.424; OKLCH L 75.5% C 0.120 H 79.0°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#D8A64F
RGBrgb(216, 166, 79)
HSLhsl(38, 64%, 58%)
HSVhsv(38, 63%, 85%)
CMYKcmyk(0%, 23.1%, 63.4%, 15.3%)
CIE-LABlab(71.17, 9.19, 51.06)
CIE-LCHlch(71.17, 51.88, 79.80°)
OKLaboklab(75.49% 0.0227 0.1174)
OKLCHoklch(75.49% 0.12 79)
XYZxyz(43.3689, 42.4389, 13.3029)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A64F #4F81D8
analogous
#D8614F #D8A64F #C6D84F
triadic
#D8A64F #4FD8A6 #A64FD8
tetradic
#D8A64F #4FD861 #4F81D8 #D84FC6
square
#D8A64F #4FD861 #4F81D8 #D84FC6
split-complementary
#D8A64F #4FC6D8 #614FD8
monochromatic
#8D651F #BF892A #D8A64F #E3BF81 #EED9B3

Accessibility & contrast

On white

2.21
#D8A64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#D8A64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A64F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A64F#FFFFFF#000000##000000
##D8A64F1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA746
Deuteranopia (green-blind)
#C6B352
Tritanopia (blue-blind)
#EA9893
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d8a64f;
/* rgb */ color: rgb(216, 166, 79);
/* oklch */ color: oklch(75.5% 0.120 79.0);
Tailwind
colors: {
  custom: {
    50: '#e8c083',
    500: '#d8a64f',
    950: '#000000',
  },
}
SCSS
$custom: #d8a64f;
$custom-light: #e8c083;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a64f",
  "rgb": {
    "r": 216,
    "g": 166,
    "b": 79
  },
  "hsl": {
    "h": 38.102,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.75489,
    "c": 0.11959,
    "h": 79
  },
  "luminance": 0.42436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8A64F

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

Preview Lab → · Contrast checker → · Palette generator →

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