#A87A1F#A87A1F

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

Color values

HEX#A87A1F
RGBrgb(168, 122, 31)
HSLhsl(40, 69%, 39%)
HSVhsv(40, 82%, 66%)
CMYKcmyk(0%, 27.4%, 81.5%, 34.1%)
CIE-LABlab(54.39, 9.77, 52.84)
CIE-LCHlch(54.39, 53.74, 79.52°)
OKLaboklab(61.04% 0.0214 0.1141)
OKLCHoklch(61.04% 0.116 79.4)
XYZxyz(23.3570, 22.3447, 4.3789)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87A1F #1F4DA8
analogous
#A8361F #A87A1F #92A81F
triadic
#A87A1F #1FA87A #7A1FA8
tetradic
#A87A1F #1FA836 #1F4DA8 #A81F92
square
#A87A1F #1FA836 #1F4DA8 #A81F92
split-complementary
#A87A1F #1F92A8 #361FA8
monochromatic
#412F0C #745415 #A87A1F #D89E2C #E2B660

Accessibility & contrast

On white

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

On black

5.47
#A87A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87A1F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87A1F#FFFFFF#000000##000000
##A87A1F1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0C
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#B76D69
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a87a1f;
/* rgb */ color: rgb(168, 122, 31);
/* oklch */ color: oklch(61.0% 0.116 79.4);
Tailwind
colors: {
  custom: {
    50: '#c7a063',
    500: '#a87a1f',
    950: '#000000',
  },
}
SCSS
$custom: #a87a1f;
$custom-light: #c7a063;
$custom-dark: #000000;
JSON
{
  "hex": "#a87a1f",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 39.854,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.11611,
    "h": 79.4
  },
  "luminance": 0.22343
}

Semantic roles & 50–950 ramp

primary
#A87A1F
secondary
#5D80C6
accent
#77EC3C
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E06
muted
#827E7A

Preview Lab

Preview with #A87A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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