#D8A342#D8A342

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

Color values

HEX#D8A342
RGBrgb(216, 163, 66)
HSLhsl(39, 66%, 55%)
HSVhsv(39, 69%, 85%)
CMYKcmyk(0%, 24.5%, 69.4%, 15.3%)
CIE-LABlab(70.31, 10.03, 56.03)
CIE-LCHlch(70.31, 56.92, 79.85°)
OKLaboklab(74.77% 0.0235 0.1259)
OKLCHoklch(74.77% 0.128 79.4)
XYZxyz(42.4021, 41.1898, 10.8704)
Luminance0.4119 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A342 #4277D8
analogous
#D85842 #D8A342 #C2D842
triadic
#D8A342 #42D8A3 #A342D8
tetradic
#D8A342 #42D858 #4277D8 #D842C2
square
#D8A342 #42D858 #4277D8 #D842C2
split-complementary
#D8A342 #42C2D8 #5842D8
monochromatic
#845F1B #B78426 #D8A342 #E2BC75 #EDD4A7

Accessibility & contrast

On white

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

On black

9.24
#D8A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A342
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A342#FFFFFF#000000##000000
##D8A3421.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A436
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#EA948F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d8a342;
/* rgb */ color: rgb(216, 163, 66);
/* oklch */ color: oklch(74.8% 0.128 79.4);
Tailwind
colors: {
  custom: {
    50: '#e8be7b',
    500: '#d8a342',
    950: '#000000',
  },
}
SCSS
$custom: #d8a342;
$custom-light: #e8be7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a342",
  "rgb": {
    "r": 216,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 38.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74774,
    "c": 0.12811,
    "h": 79.4
  },
  "luminance": 0.41187
}

Semantic roles & 50–950 ramp

primary
#D8A342
secondary
#9CB2DA
accent
#7BE93F
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D8A342

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

Preview Lab → · Contrast checker → · Palette generator →

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