#D8A938#D8A938

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

Color values

HEX#D8A938
RGBrgb(216, 169, 56)
HSLhsl(42, 67%, 53%)
HSVhsv(42, 74%, 85%)
CMYKcmyk(0%, 21.8%, 74.1%, 15.3%)
CIE-LABlab(71.73, 6.34, 61.59)
CIE-LCHlch(71.73, 61.92, 84.12°)
OKLaboklab(75.87% 0.0116 0.1359)
OKLCHoklch(75.87% 0.136 85.1)
XYZxyz(43.2234, 43.2634, 9.8147)
Luminance0.4326 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A938 #3867D8
analogous
#D85938 #D8A938 #B7D838
triadic
#D8A938 #38D8A9 #A938D8
tetradic
#D8A938 #38D859 #3867D8 #D838B7
square
#D8A938 #38D859 #3867D8 #D838B7
split-complementary
#D8A938 #38B7D8 #5938D8
monochromatic
#7D6019 #B08723 #D8A938 #E2BF6B #ECD59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8A938#FFFFFF#000000##000000
##D8A9381.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)
#BEA927
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#EA9A92
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d8a938;
/* rgb */ color: rgb(216, 169, 56);
/* oklch */ color: oklch(75.9% 0.136 85.1);
Tailwind
colors: {
  custom: {
    50: '#e9c276',
    500: '#d8a938',
    950: '#000000',
  },
}
SCSS
$custom: #d8a938;
$custom-light: #e9c276;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a938",
  "rgb": {
    "r": 216,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 42.375,
    "s": 67.227,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75868,
    "c": 0.13635,
    "h": 85.1
  },
  "luminance": 0.4326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8A938

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

Preview Lab → · Contrast checker → · Palette generator →

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