#A87B1F#A87B1F

#A87B1F is a mid, moderate orange. Relative luminance 0.226; OKLCH L 61.2% C 0.116 H 80.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A87B1F
RGBrgb(168, 123, 31)
HSLhsl(40, 69%, 39%)
HSVhsv(40, 82%, 66%)
CMYKcmyk(0%, 26.8%, 81.5%, 34.1%)
CIE-LABlab(54.65, 9.21, 53.07)
CIE-LCHlch(54.65, 53.87, 80.16°)
OKLaboklab(61.24% 0.0198 0.1146)
OKLCHoklch(61.24% 0.116 80.2)
XYZxyz(23.4804, 22.5916, 4.4200)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87B1F #1F4CA8
analogous
#A8371F #A87B1F #91A81F
triadic
#A87B1F #1FA87B #7B1FA8
tetradic
#A87B1F #1FA837 #1F4CA8 #A81F91
square
#A87B1F #1FA837 #1F4CA8 #A81F91
split-complementary
#A87B1F #1F91A8 #371FA8
monochromatic
#412F0C #745515 #A87B1F #D8A02C #E2B760

Accessibility & contrast

On white

3.81
#A87B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#A87B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87B1F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87B1F#FFFFFF#000000##000000
##A87B1F1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0B
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#B76E6A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a87b1f;
/* rgb */ color: rgb(168, 123, 31);
/* oklch */ color: oklch(61.2% 0.116 80.2);
Tailwind
colors: {
  custom: {
    50: '#c7a063',
    500: '#a87b1f',
    950: '#000000',
  },
}
SCSS
$custom: #a87b1f;
$custom-light: #c7a063;
$custom-dark: #000000;
JSON
{
  "hex": "#a87b1f",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 40.292,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61243,
    "c": 0.11632,
    "h": 80.2
  },
  "luminance": 0.2259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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