#A87C1F#A87C1F

#A87C1F is a mid, moderate orange. Relative luminance 0.228; OKLCH L 61.4% C 0.117 H 81.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A87C1F
RGBrgb(168, 124, 31)
HSLhsl(41, 69%, 39%)
HSVhsv(41, 82%, 66%)
CMYKcmyk(0%, 26.2%, 81.5%, 34.1%)
CIE-LABlab(54.91, 8.65, 53.30)
CIE-LCHlch(54.91, 54.00, 80.78°)
OKLaboklab(61.45% 0.0182 0.1151)
OKLCHoklch(61.45% 0.117 81)
XYZxyz(23.6051, 22.8409, 4.4616)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87C1F #1F4BA8
analogous
#A8381F #A87C1F #90A81F
triadic
#A87C1F #1FA87C #7C1FA8
tetradic
#A87C1F #1FA838 #1F4BA8 #A81F90
square
#A87C1F #1FA838 #1F4BA8 #A81F90
split-complementary
#A87C1F #1F90A8 #381FA8
monochromatic
#41300C #745615 #A87C1F #D8A12C #E2B860

Accessibility & contrast

On white

3.77
#A87C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A87C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87C1F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87C1F#FFFFFF#000000##000000
##A87C1F1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0B
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#B76F6A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a87c1f;
/* rgb */ color: rgb(168, 124, 31);
/* oklch */ color: oklch(61.4% 0.117 81.0);
Tailwind
colors: {
  custom: {
    50: '#c7a163',
    500: '#a87c1f',
    950: '#000000',
  },
}
SCSS
$custom: #a87c1f;
$custom-light: #c7a163;
$custom-dark: #000000;
JSON
{
  "hex": "#a87c1f",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 40.73,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.11655,
    "h": 81
  },
  "luminance": 0.22839
}

Semantic roles & 50–950 ramp

primary
#A87C1F
secondary
#5D7FC6
accent
#75EC3C
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E06
muted
#827E7A

Preview Lab

Preview with #A87C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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