#D8A538#D8A538

#D8A538 is a light, vivid orange. Relative luminance 0.418; OKLCH L 75.1% C 0.135 H 82.5°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#D8A538
RGBrgb(216, 165, 56)
HSLhsl(41, 67%, 53%)
HSVhsv(41, 74%, 85%)
CMYKcmyk(0%, 23.6%, 74.1%, 15.3%)
CIE-LABlab(70.73, 8.47, 60.61)
CIE-LCHlch(70.73, 61.20, 82.04°)
OKLaboklab(75.08% 0.0177 0.1338)
OKLCHoklch(75.08% 0.135 82.5)
XYZxyz(42.4906, 41.7978, 9.5705)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A538 #386BD8
analogous
#D85538 #D8A538 #BBD838
triadic
#D8A538 #38D8A5 #A538D8
tetradic
#D8A538 #38D855 #386BD8 #D838BB
square
#D8A538 #38D855 #386BD8 #D838BB
split-complementary
#D8A538 #38BBD8 #5538D8
monochromatic
#7D5D19 #B08323 #D8A538 #E2BC6B #ECD39E

Accessibility & contrast

On white

2.24
#D8A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#D8A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A538
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A538#FFFFFF#000000##000000
##D8A5381.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA528
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#EA958F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d8a538;
/* rgb */ color: rgb(216, 165, 56);
/* oklch */ color: oklch(75.1% 0.135 82.5);
Tailwind
colors: {
  custom: {
    50: '#e9bf76',
    500: '#d8a538',
    950: '#000000',
  },
}
SCSS
$custom: #d8a538;
$custom-light: #e9bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a538",
  "rgb": {
    "r": 216,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 40.875,
    "s": 67.227,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75081,
    "c": 0.13495,
    "h": 82.5
  },
  "luminance": 0.41795
}

Semantic roles & 50–950 ramp

primary
#D8A538
secondary
#93A9D8
accent
#75EA3E
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D8A538

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

Preview Lab → · Contrast checker → · Palette generator →

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