#D8AB40#D8AB40

#D8AB40 is a light, vivid orange. Relative luminance 0.441; OKLCH L 76.3% C 0.132 H 85.4°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#D8AB40
RGBrgb(216, 171, 64)
HSLhsl(42, 66%, 55%)
HSVhsv(42, 70%, 85%)
CMYKcmyk(0%, 20.8%, 70.4%, 15.3%)
CIE-LABlab(72.29, 5.65, 58.93)
CIE-LCHlch(72.29, 59.20, 84.52°)
OKLaboklab(76.33% 0.0105 0.1318)
OKLCHoklch(76.33% 0.132 85.4)
XYZxyz(43.8098, 44.0978, 11.0538)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8AB40 #406DD8
analogous
#D85F40 #D8AB40 #B9D840
triadic
#D8AB40 #40D8AB #AB40D8
tetradic
#D8AB40 #40D85F #406DD8 #D840B9
square
#D8AB40 #40D85F #406DD8 #D840B9
split-complementary
#D8AB40 #40B9D8 #5F40D8
monochromatic
#83641B #B68B25 #D8AB40 #E2C173 #EDD8A6

Accessibility & contrast

On white

2.14
#D8AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#D8AB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8AB40
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8AB40#FFFFFF#000000##000000
##D8AB401.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA32
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#EA9C95
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d8ab40;
/* rgb */ color: rgb(216, 171, 64);
/* oklch */ color: oklch(76.3% 0.132 85.4);
Tailwind
colors: {
  custom: {
    50: '#e8c37b',
    500: '#d8ab40',
    950: '#000000',
  },
}
SCSS
$custom: #d8ab40;
$custom-light: #e8c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ab40",
  "rgb": {
    "r": 216,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 42.237,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76327,
    "c": 0.13217,
    "h": 85.4
  },
  "luminance": 0.44095
}

Semantic roles & 50–950 ramp

primary
#D8AB40
secondary
#9AADDA
accent
#71E93F
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D8AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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