#D7AB52#D7AB52

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

Color values

HEX#D7AB52
RGBrgb(215, 171, 82)
HSLhsl(40, 62%, 58%)
HSVhsv(40, 62%, 84%)
CMYKcmyk(0%, 20.5%, 61.9%, 15.7%)
CIE-LABlab(72.35, 6.29, 50.94)
CIE-LCHlch(72.35, 51.33, 82.96°)
OKLaboklab(76.4% 0.0147 0.1176)
OKLCHoklch(76.4% 0.119 82.9)
XYZxyz(44.1126, 44.1849, 14.1861)
Luminance0.4418 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AB52 #527ED7
analogous
#D76852 #D7AB52 #C1D752
triadic
#D7AB52 #52D7AB #AB52D7
tetradic
#D7AB52 #52D768 #527ED7 #D752C1
square
#D7AB52 #52D768 #527ED7 #D752C1
split-complementary
#D7AB52 #52C1D7 #6852D7
monochromatic
#8E6A21 #C08F2C #D7AB52 #E2C384 #EEDBB5

Accessibility & contrast

On white

2.13
#D7AB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#D7AB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7AB52
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7AB52#FFFFFF#000000##000000
##D7AB521.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7ab52;
/* rgb */ color: rgb(215, 171, 82);
/* oklch */ color: oklch(76.4% 0.119 82.9);
Tailwind
colors: {
  custom: {
    50: '#e7c386',
    500: '#d7ab52',
    950: '#000000',
  },
}
SCSS
$custom: #d7ab52;
$custom-light: #e7c386;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ab52",
  "rgb": {
    "r": 215,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 40.15,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.764,
    "c": 0.11852,
    "h": 82.9
  },
  "luminance": 0.44182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7AB52

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

Preview Lab → · Contrast checker → · Palette generator →

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