#D8A340#D8A340

#D8A340 is a light, vivid orange. Relative luminance 0.412; OKLCH L 74.8% C 0.129 H 79.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#D8A340
RGBrgb(216, 163, 64)
HSLhsl(39, 66%, 55%)
HSVhsv(39, 70%, 85%)
CMYKcmyk(0%, 24.5%, 70.4%, 15.3%)
CIE-LABlab(70.29, 9.93, 56.88)
CIE-LCHlch(70.29, 57.74, 80.10°)
OKLaboklab(74.76% 0.0229 0.1274)
OKLCHoklch(74.76% 0.129 79.8)
XYZxyz(42.3442, 41.1666, 10.5652)
Luminance0.4116 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A340 #4075D8
analogous
#D85740 #D8A340 #C1D840
triadic
#D8A340 #40D8A3 #A340D8
tetradic
#D8A340 #40D857 #4075D8 #D840C1
square
#D8A340 #40D857 #4075D8 #D840C1
split-complementary
#D8A340 #40C1D8 #5740D8
monochromatic
#835F1B #B68325 #D8A340 #E2BB73 #EDD4A6

Accessibility & contrast

On white

2.27
#D8A340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#D8A340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A340
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A340#FFFFFF#000000##000000
##D8A3401.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#C5B144
Tritanopia (blue-blind)
#EA948E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d8a340;
/* rgb */ color: rgb(216, 163, 64);
/* oklch */ color: oklch(74.8% 0.129 79.8);
Tailwind
colors: {
  custom: {
    50: '#e8be7a',
    500: '#d8a340',
    950: '#000000',
  },
}
SCSS
$custom: #d8a340;
$custom-light: #e8be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a340",
  "rgb": {
    "r": 216,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 39.079,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.74756,
    "c": 0.12944,
    "h": 79.8
  },
  "luminance": 0.41163
}

Semantic roles & 50–950 ramp

primary
#D8A340
secondary
#9AB0DA
accent
#7AE93F
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#171209
muted
#85817B

Preview Lab

Preview with #D8A340

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

Preview Lab → · Contrast checker → · Palette generator →

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