#D7A642#D7A642

#D7A642 is a light, vivid orange. Relative luminance 0.421; OKLCH L 75.3% C 0.129 H 82.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#D7A642
RGBrgb(215, 166, 66)
HSLhsl(40, 65%, 55%)
HSVhsv(40, 69%, 84%)
CMYKcmyk(0%, 22.8%, 69.3%, 15.7%)
CIE-LABlab(70.95, 7.99, 56.66)
CIE-LCHlch(70.95, 57.23, 81.97°)
OKLaboklab(75.25% 0.0176 0.1273)
OKLCHoklch(75.25% 0.129 82.1)
XYZxyz(42.6465, 42.1159, 11.0362)
Luminance0.4211 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A642 #4273D7
analogous
#D75B42 #D7A642 #BED742
triadic
#D7A642 #42D7A6 #A642D7
tetradic
#D7A642 #42D75B #4273D7 #D742BE
square
#D7A642 #42D75B #4273D7 #D742BE
split-complementary
#D7A642 #42BED7 #5B42D7
monochromatic
#83611C #B58626 #D7A642 #E2BE75 #ECD6A7

Accessibility & contrast

On white

2.23
#D7A642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#D7A642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A642
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A642#FFFFFF#000000##000000
##D7A6421.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA636
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#E99791
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d7a642;
/* rgb */ color: rgb(215, 166, 66);
/* oklch */ color: oklch(75.3% 0.129 82.1);
Tailwind
colors: {
  custom: {
    50: '#e8c07b',
    500: '#d7a642',
    950: '#000000',
  },
}
SCSS
$custom: #d7a642;
$custom-light: #e8c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a642",
  "rgb": {
    "r": 215,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 40.268,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75253,
    "c": 0.12854,
    "h": 82.1
  },
  "luminance": 0.42113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7A642

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

Preview Lab → · Contrast checker → · Palette generator →

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