#D8A542#D8A542

#D8A542 is a light, vivid orange. Relative luminance 0.419; OKLCH L 75.2% C 0.129 H 80.9°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#D8A542
RGBrgb(216, 165, 66)
HSLhsl(40, 66%, 55%)
HSVhsv(40, 69%, 85%)
CMYKcmyk(0%, 23.6%, 69.4%, 15.3%)
CIE-LABlab(70.81, 8.96, 56.55)
CIE-LCHlch(70.81, 57.25, 81.00°)
OKLaboklab(75.16% 0.0204 0.1271)
OKLCHoklch(75.16% 0.129 80.9)
XYZxyz(42.7600, 41.9056, 10.9897)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A542 #4275D8
analogous
#D85A42 #D8A542 #C0D842
triadic
#D8A542 #42D8A5 #A542D8
tetradic
#D8A542 #42D85A #4275D8 #D842C0
square
#D8A542 #42D85A #4275D8 #D842C0
split-complementary
#D8A542 #42C0D8 #5A42D8
monochromatic
#84611B #B78626 #D8A542 #E2BD75 #EDD5A7

Accessibility & contrast

On white

2.24
#D8A542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#D8A542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A542
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A542#FFFFFF#000000##000000
##D8A5421.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA636
Deuteranopia (green-blind)
#C6B246
Tritanopia (blue-blind)
#EA9690
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d8a542;
/* rgb */ color: rgb(216, 165, 66);
/* oklch */ color: oklch(75.2% 0.129 80.9);
Tailwind
colors: {
  custom: {
    50: '#e8bf7b',
    500: '#d8a542',
    950: '#000000',
  },
}
SCSS
$custom: #d8a542;
$custom-light: #e8bf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a542",
  "rgb": {
    "r": 216,
    "g": 165,
    "b": 66
  },
  "hsl": {
    "h": 39.6,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75163,
    "c": 0.12867,
    "h": 80.9
  },
  "luminance": 0.41903
}

Semantic roles & 50–950 ramp

primary
#D8A542
secondary
#9CB1DA
accent
#79E93F
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D8A542

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

Preview Lab → · Contrast checker → · Palette generator →

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