#D8AA40#D8AA40

#D8AA40 is a light, vivid orange. Relative luminance 0.437; OKLCH L 76.1% C 0.132 H 84.7°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#D8AA40
RGBrgb(216, 170, 64)
HSLhsl(42, 66%, 55%)
HSVhsv(42, 70%, 85%)
CMYKcmyk(0%, 21.3%, 70.4%, 15.3%)
CIE-LABlab(72.04, 6.19, 58.67)
CIE-LCHlch(72.04, 59.00, 83.98°)
OKLaboklab(76.13% 0.0121 0.1312)
OKLCHoklch(76.13% 0.132 84.7)
XYZxyz(43.6216, 43.7215, 10.9910)
Luminance0.4372 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8AA40 #406ED8
analogous
#D85E40 #D8AA40 #BAD840
triadic
#D8AA40 #40D8AA #AA40D8
tetradic
#D8AA40 #40D85E #406ED8 #D840BA
square
#D8AA40 #40D85E #406ED8 #D840BA
split-complementary
#D8AA40 #40BAD8 #5E40D8
monochromatic
#83631B #B68A25 #D8AA40 #E2C173 #EDD7A6

Accessibility & contrast

On white

2.16
#D8AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#D8AA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8AA40
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8AA40#FFFFFF#000000##000000
##D8AA401.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA32
Deuteranopia (green-blind)
#C9B645
Tritanopia (blue-blind)
#EA9B94
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d8aa40;
/* rgb */ color: rgb(216, 170, 64);
/* oklch */ color: oklch(76.1% 0.132 84.7);
Tailwind
colors: {
  custom: {
    50: '#e8c37b',
    500: '#d8aa40',
    950: '#000000',
  },
}
SCSS
$custom: #d8aa40;
$custom-light: #e8c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8aa40",
  "rgb": {
    "r": 216,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 41.842,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76129,
    "c": 0.13175,
    "h": 84.7
  },
  "luminance": 0.43719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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