#D7AB42#D7AB42

#D7AB42 is a light, vivid orange. Relative luminance 0.440; OKLCH L 76.2% C 0.130 H 85.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#D7AB42
RGBrgb(215, 171, 66)
HSLhsl(42, 65%, 55%)
HSVhsv(42, 69%, 84%)
CMYKcmyk(0%, 20.5%, 69.3%, 15.7%)
CIE-LABlab(72.21, 5.33, 57.97)
CIE-LCHlch(72.21, 58.21, 84.75°)
OKLaboklab(76.24% 0.0099 0.1301)
OKLCHoklch(76.24% 0.13 85.6)
XYZxyz(43.5731, 43.9691, 11.3451)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AB42 #426ED7
analogous
#D76042 #D7AB42 #B8D742
triadic
#D7AB42 #42D7AB #AB42D7
tetradic
#D7AB42 #42D760 #426ED7 #D742B8
square
#D7AB42 #42D760 #426ED7 #D742B8
split-complementary
#D7AB42 #42B8D7 #6042D7
monochromatic
#83641C #B58B26 #D7AB42 #E2C175 #ECD8A7

Accessibility & contrast

On white

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

On black

9.79
#D7AB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7AB42
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7AB42#FFFFFF#000000##000000
##D7AB421.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA35
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#E99C95
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d7ab42;
/* rgb */ color: rgb(215, 171, 66);
/* oklch */ color: oklch(76.2% 0.130 85.6);
Tailwind
colors: {
  custom: {
    50: '#e7c37c',
    500: '#d7ab42',
    950: '#000000',
  },
}
SCSS
$custom: #d7ab42;
$custom-light: #e7c37c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ab42",
  "rgb": {
    "r": 215,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 42.282,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76241,
    "c": 0.13048,
    "h": 85.6
  },
  "luminance": 0.43966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7AB42

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

Preview Lab → · Contrast checker → · Palette generator →

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