#D8A838#D8A838

#D8A838 is a light, vivid orange. Relative luminance 0.429; OKLCH L 75.7% C 0.136 H 84.5°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#D8A838
RGBrgb(216, 168, 56)
HSLhsl(42, 67%, 53%)
HSVhsv(42, 74%, 85%)
CMYKcmyk(0%, 22.2%, 74.1%, 15.3%)
CIE-LABlab(71.48, 6.87, 61.35)
CIE-LCHlch(71.48, 61.73, 83.61°)
OKLaboklab(75.67% 0.0131 0.1353)
OKLCHoklch(75.67% 0.136 84.5)
XYZxyz(43.0380, 42.8928, 9.7530)
Luminance0.4289 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A838 #3868D8
analogous
#D85838 #D8A838 #B8D838
triadic
#D8A838 #38D8A8 #A838D8
tetradic
#D8A838 #38D858 #3868D8 #D838B8
square
#D8A838 #38D858 #3868D8 #D838B8
split-complementary
#D8A838 #38B8D8 #5838D8
monochromatic
#7D5F19 #B08623 #D8A838 #E2BE6B #ECD59E

Accessibility & contrast

On white

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

On black

9.58
#D8A838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A838
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A838#FFFFFF#000000##000000
##D8A8381.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8a838;
/* rgb */ color: rgb(216, 168, 56);
/* oklch */ color: oklch(75.7% 0.136 84.5);
Tailwind
colors: {
  custom: {
    50: '#e9c176',
    500: '#d8a838',
    950: '#000000',
  },
}
SCSS
$custom: #d8a838;
$custom-light: #e9c176;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a838",
  "rgb": {
    "r": 216,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 42,
    "s": 67.227,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75671,
    "c": 0.13597,
    "h": 84.5
  },
  "luminance": 0.4289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8A838

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

Preview Lab → · Contrast checker → · Palette generator →

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