#D7A542#D7A542

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

Color values

HEX#D7A542
RGBrgb(215, 165, 66)
HSLhsl(40, 65%, 55%)
HSVhsv(40, 69%, 84%)
CMYKcmyk(0%, 23.3%, 69.3%, 15.7%)
CIE-LABlab(70.70, 8.53, 56.40)
CIE-LCHlch(70.70, 57.05, 81.40°)
OKLaboklab(75.06% 0.0192 0.1268)
OKLCHoklch(75.06% 0.128 81.4)
XYZxyz(42.4654, 41.7537, 10.9758)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A542 #4274D7
analogous
#D75B42 #D7A542 #BED742
triadic
#D7A542 #42D7A5 #A542D7
tetradic
#D7A542 #42D75B #4274D7 #D742BE
square
#D7A542 #42D75B #4274D7 #D742BE
split-complementary
#D7A542 #42BED7 #5B42D7
monochromatic
#83601C #B58526 #D7A542 #E2BD75 #ECD5A7

Accessibility & contrast

On white

2.25
#D7A542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#D7A542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A542
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A542#FFFFFF#000000##000000
##D7A5421.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA636
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#E99690
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d7a542;
/* rgb */ color: rgb(215, 165, 66);
/* oklch */ color: oklch(75.1% 0.128 81.4);
Tailwind
colors: {
  custom: {
    50: '#e8bf7b',
    500: '#d7a542',
    950: '#000000',
  },
}
SCSS
$custom: #d7a542;
$custom-light: #e8bf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a542",
  "rgb": {
    "r": 215,
    "g": 165,
    "b": 66
  },
  "hsl": {
    "h": 39.866,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75057,
    "c": 0.12822,
    "h": 81.4
  },
  "luminance": 0.41751
}

Semantic roles & 50–950 ramp

primary
#D7A542
secondary
#9BB0DA
accent
#78E840
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D7A542

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

Preview Lab → · Contrast checker → · Palette generator →

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