#D7AB51#D7AB51

#D7AB51 is a light, moderate orange. Relative luminance 0.442; OKLCH L 76.4% C 0.119 H 83.1°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#D7AB51
RGBrgb(215, 171, 81)
HSLhsl(40, 63%, 58%)
HSVhsv(40, 62%, 84%)
CMYKcmyk(0%, 20.5%, 62.3%, 15.7%)
CIE-LABlab(72.34, 6.22, 51.40)
CIE-LCHlch(72.34, 51.77, 83.09°)
OKLaboklab(76.39% 0.0144 0.1185)
OKLCHoklch(76.39% 0.119 83.1)
XYZxyz(44.0748, 44.1698, 13.9872)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AB51 #517DD7
analogous
#D76851 #D7AB51 #C0D751
triadic
#D7AB51 #51D7AB #AB51D7
tetradic
#D7AB51 #51D768 #517DD7 #D751C0
square
#D7AB51 #51D768 #517DD7 #D751C0
split-complementary
#D7AB51 #51C0D7 #6851D7
monochromatic
#8D6920 #BF8F2C #D7AB51 #E2C383 #EEDBB5

Accessibility & contrast

On white

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

On black

9.83
#D7AB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7AB51
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7AB51#FFFFFF#000000##000000
##D7AB511.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB48
Deuteranopia (green-blind)
#C9B654
Tritanopia (blue-blind)
#E89D97
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d7ab51;
/* rgb */ color: rgb(215, 171, 81);
/* oklch */ color: oklch(76.4% 0.119 83.1);
Tailwind
colors: {
  custom: {
    50: '#e7c385',
    500: '#d7ab51',
    950: '#000000',
  },
}
SCSS
$custom: #d7ab51;
$custom-light: #e7c385;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ab51",
  "rgb": {
    "r": 215,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 40.299,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.76389,
    "c": 0.11932,
    "h": 83.1
  },
  "luminance": 0.44167
}

Semantic roles & 50–950 ramp

primary
#D7AB51
secondary
#A7B9DD
accent
#78E642
background
#FEFBF8
surface
#FDF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #D7AB51

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

Preview Lab → · Contrast checker → · Palette generator →

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