#D8A939#D8A939

#D8A939 is a light, vivid orange. Relative luminance 0.433; OKLCH L 75.9% C 0.136 H 85.0°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#D8A939
RGBrgb(216, 169, 57)
HSLhsl(42, 67%, 54%)
HSVhsv(42, 74%, 85%)
CMYKcmyk(0%, 21.8%, 73.6%, 15.3%)
CIE-LABlab(71.74, 6.38, 61.21)
CIE-LCHlch(71.74, 61.54, 84.05°)
OKLaboklab(75.88% 0.0118 0.1353)
OKLCHoklch(75.88% 0.136 85)
XYZxyz(43.2481, 43.2733, 9.9448)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A939 #3968D8
analogous
#D85939 #D8A939 #B8D839
triadic
#D8A939 #39D8A9 #A939D8
tetradic
#D8A939 #39D859 #3968D8 #D839B8
square
#D8A939 #39D859 #3968D8 #D839B8
split-complementary
#D8A939 #39B8D8 #5939D8
monochromatic
#7E6019 #B18723 #D8A939 #E2BF6C #ECD59F

Accessibility & contrast

On white

2.18
#D8A939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#D8A939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A939
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A939#FFFFFF#000000##000000
##D8A9391.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA928
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#EA9A93
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d8a939;
/* rgb */ color: rgb(216, 169, 57);
/* oklch */ color: oklch(75.9% 0.136 85.0);
Tailwind
colors: {
  custom: {
    50: '#e9c276',
    500: '#d8a939',
    950: '#000000',
  },
}
SCSS
$custom: #d8a939;
$custom-light: #e9c276;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a939",
  "rgb": {
    "r": 216,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 42.264,
    "s": 67.089,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75876,
    "c": 0.13576,
    "h": 85
  },
  "luminance": 0.4327
}

Semantic roles & 50–950 ramp

primary
#D8A939
secondary
#94A8D8
accent
#71EA3E
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D8A939

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

Preview Lab → · Contrast checker → · Palette generator →

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