#A87E1F#A87E1F

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

Color values

HEX#A87E1F
RGBrgb(168, 126, 31)
HSLhsl(42, 69%, 39%)
HSVhsv(42, 82%, 66%)
CMYKcmyk(0%, 25%, 81.5%, 34.1%)
CIE-LABlab(55.43, 7.53, 53.77)
CIE-LCHlch(55.43, 54.29, 82.03°)
OKLaboklab(61.85% 0.015 0.1161)
OKLCHoklch(61.85% 0.117 82.7)
XYZxyz(23.8583, 23.3473, 4.5460)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87E1F #1F49A8
analogous
#A83A1F #A87E1F #8EA81F
triadic
#A87E1F #1FA87E #7E1FA8
tetradic
#A87E1F #1FA83A #1F49A8 #A81F8E
square
#A87E1F #1FA83A #1F49A8 #A81F8E
split-complementary
#A87E1F #1F8EA8 #3A1FA8
monochromatic
#41310C #745715 #A87E1F #D8A32C #E2BA60

Accessibility & contrast

On white

3.70
#A87E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A87E1F#FFFFFF#000000##000000
##A87E1F1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#B7716C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a87e1f;
/* rgb */ color: rgb(168, 126, 31);
/* oklch */ color: oklch(61.9% 0.117 82.7);
Tailwind
colors: {
  custom: {
    50: '#c7a363',
    500: '#a87e1f',
    950: '#000000',
  },
}
SCSS
$custom: #a87e1f;
$custom-light: #c7a363;
$custom-dark: #000000;
JSON
{
  "hex": "#a87e1f",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 41.606,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.11709,
    "h": 82.7
  },
  "luminance": 0.23345
}

Semantic roles & 50–950 ramp

primary
#A87E1F
secondary
#5D7DC6
accent
#72EC3C
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140F06
muted
#827E7A

Preview Lab

Preview with #A87E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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