#A87E1B#A87E1B

#A87E1B is a mid, moderate orange. Relative luminance 0.233; OKLCH L 61.8% C 0.119 H 83.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A87E1B
RGBrgb(168, 126, 27)
HSLhsl(42, 72%, 38%)
HSVhsv(42, 84%, 66%)
CMYKcmyk(0%, 25%, 83.9%, 34.1%)
CIE-LABlab(55.41, 7.39, 55.09)
CIE-LCHlch(55.41, 55.58, 82.35°)
OKLaboklab(61.83% 0.0142 0.1181)
OKLCHoklch(61.83% 0.119 83.2)
XYZxyz(23.8088, 23.3275, 4.2854)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87E1B #1B45A8
analogous
#A8381B #A87E1B #8BA81B
triadic
#A87E1B #1BA87E #7E1BA8
tetradic
#A87E1B #1BA838 #1B45A8 #A81B8B
square
#A87E1B #1BA838 #1B45A8 #A81B8B
split-complementary
#A87E1B #1B8BA8 #381BA8
monochromatic
#3F2F0A #735613 #A87E1B #DCA524 #E4BB59

Accessibility & contrast

On white

3.71
#A87E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#A87E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87E1B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87E1B#FFFFFF#000000##000000
##A87E1B1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#9A8921
Tritanopia (blue-blind)
#B7716C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a87e1b;
/* rgb */ color: rgb(168, 126, 27);
/* oklch */ color: oklch(61.8% 0.119 83.2);
Tailwind
colors: {
  custom: {
    50: '#c7a362',
    500: '#a87e1b',
    950: '#000000',
  },
}
SCSS
$custom: #a87e1b;
$custom-light: #c7a362;
$custom-dark: #000000;
JSON
{
  "hex": "#a87e1b",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 42.128,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61831,
    "c": 0.11892,
    "h": 83.2
  },
  "luminance": 0.23326
}

Semantic roles & 50–950 ramp

primary
#A87E1B
secondary
#5779C8
accent
#6FEF39
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140F05
muted
#827E7A

Preview Lab

Preview with #A87E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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