#A87A1B#A87A1B

#A87A1B is a mid, moderate orange. Relative luminance 0.223; OKLCH L 61.0% C 0.118 H 79.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A87A1B
RGBrgb(168, 122, 27)
HSLhsl(40, 72%, 38%)
HSVhsv(40, 84%, 66%)
CMYKcmyk(0%, 27.4%, 83.9%, 34.1%)
CIE-LABlab(54.37, 9.64, 54.19)
CIE-LCHlch(54.37, 55.04, 79.91°)
OKLaboklab(61.02% 0.0206 0.1161)
OKLCHoklch(61.02% 0.118 79.9)
XYZxyz(23.3075, 22.3249, 4.1183)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87A1B #1B49A8
analogous
#A8341B #A87A1B #8FA81B
triadic
#A87A1B #1BA87A #7A1BA8
tetradic
#A87A1B #1BA834 #1B49A8 #A81B8F
square
#A87A1B #1BA834 #1B49A8 #A81B8F
split-complementary
#A87A1B #1B8FA8 #341BA8
monochromatic
#3F2D0A #735413 #A87A1B #DCA024 #E4B759

Accessibility & contrast

On white

3.84
#A87A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#A87A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87A1B
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87A1B#FFFFFF#000000##000000
##A87A1B1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B02
Deuteranopia (green-blind)
#978720
Tritanopia (blue-blind)
#B76D68
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a87a1b;
/* rgb */ color: rgb(168, 122, 27);
/* oklch */ color: oklch(61.0% 0.118 79.9);
Tailwind
colors: {
  custom: {
    50: '#c7a061',
    500: '#a87a1b',
    950: '#000000',
  },
}
SCSS
$custom: #a87a1b;
$custom-light: #c7a061;
$custom-dark: #000000;
JSON
{
  "hex": "#a87a1b",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 40.426,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61017,
    "c": 0.11793,
    "h": 79.9
  },
  "luminance": 0.22323
}

Semantic roles & 50–950 ramp

primary
#A87A1B
secondary
#577CC8
accent
#74EF39
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E05
muted
#827E7A

Preview Lab

Preview with #A87A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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