#D7A942#D7A942

#D7A942 is a light, vivid orange. Relative luminance 0.432; OKLCH L 75.8% C 0.130 H 84.3°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#D7A942
RGBrgb(215, 169, 66)
HSLhsl(41, 65%, 55%)
HSVhsv(41, 69%, 84%)
CMYKcmyk(0%, 21.4%, 69.3%, 15.7%)
CIE-LABlab(71.70, 6.39, 57.45)
CIE-LCHlch(71.70, 57.80, 83.65°)
OKLaboklab(75.85% 0.013 0.129)
OKLCHoklch(75.85% 0.13 84.3)
XYZxyz(43.1982, 43.2193, 11.2201)
Luminance0.4322 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A942 #4270D7
analogous
#D75F42 #D7A942 #BAD742
triadic
#D7A942 #42D7A9 #A942D7
tetradic
#D7A942 #42D75F #4270D7 #D742BA
square
#D7A942 #42D75F #4270D7 #D742BA
split-complementary
#D7A942 #42BAD7 #5F42D7
monochromatic
#83631C #B58926 #D7A942 #E2C075 #ECD7A7

Accessibility & contrast

On white

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

On black

9.64
#D7A942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A942
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A942#FFFFFF#000000##000000
##D7A9421.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA935
Deuteranopia (green-blind)
#C8B546
Tritanopia (blue-blind)
#E99A94
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d7a942;
/* rgb */ color: rgb(215, 169, 66);
/* oklch */ color: oklch(75.8% 0.130 84.3);
Tailwind
colors: {
  custom: {
    50: '#e7c27c',
    500: '#d7a942',
    950: '#000000',
  },
}
SCSS
$custom: #d7a942;
$custom-light: #e7c27c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a942",
  "rgb": {
    "r": 215,
    "g": 169,
    "b": 66
  },
  "hsl": {
    "h": 41.477,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75845,
    "c": 0.12965,
    "h": 84.3
  },
  "luminance": 0.43216
}

Semantic roles & 50–950 ramp

primary
#D7A942
secondary
#9BAEDA
accent
#74E840
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D7A942

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

Preview Lab → · Contrast checker → · Palette generator →

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