#D8A840#D8A840

#D8A840 is a light, vivid orange. Relative luminance 0.430; OKLCH L 75.7% C 0.131 H 83.4°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#D8A840
RGBrgb(216, 168, 64)
HSLhsl(41, 66%, 55%)
HSVhsv(41, 70%, 85%)
CMYKcmyk(0%, 22.2%, 70.4%, 15.3%)
CIE-LABlab(71.54, 7.25, 58.16)
CIE-LCHlch(71.54, 58.61, 82.89°)
OKLaboklab(75.73% 0.0152 0.1301)
OKLCHoklch(75.73% 0.131 83.4)
XYZxyz(43.2496, 42.9774, 10.8670)
Luminance0.4297 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A840 #4070D8
analogous
#D85C40 #D8A840 #BCD840
triadic
#D8A840 #40D8A8 #A840D8
tetradic
#D8A840 #40D85C #4070D8 #D840BC
square
#D8A840 #40D85C #4070D8 #D840BC
split-complementary
#D8A840 #40BCD8 #5C40D8
monochromatic
#83621B #B68825 #D8A840 #E2BF73 #EDD6A6

Accessibility & contrast

On white

2.19
#D8A840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#D8A840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A840
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A840#FFFFFF#000000##000000
##D8A8401.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#C8B444
Tritanopia (blue-blind)
#EA9992
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d8a840;
/* rgb */ color: rgb(216, 168, 64);
/* oklch */ color: oklch(75.7% 0.131 83.4);
Tailwind
colors: {
  custom: {
    50: '#e8c17a',
    500: '#d8a840',
    950: '#000000',
  },
}
SCSS
$custom: #d8a840;
$custom-light: #e8c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a840",
  "rgb": {
    "r": 216,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 41.053,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.75734,
    "c": 0.13099,
    "h": 83.4
  },
  "luminance": 0.42974
}

Semantic roles & 50–950 ramp

primary
#D8A840
secondary
#9AAEDA
accent
#75E93F
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D8A840

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

Preview Lab → · Contrast checker → · Palette generator →

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