#A87D1F#A87D1F

#A87D1F is a mid, moderate orange. Relative luminance 0.231; OKLCH L 61.6% C 0.117 H 81.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A87D1F
RGBrgb(168, 125, 31)
HSLhsl(41, 69%, 39%)
HSVhsv(41, 82%, 66%)
CMYKcmyk(0%, 25.6%, 81.5%, 34.1%)
CIE-LABlab(55.17, 8.09, 53.54)
CIE-LCHlch(55.17, 54.14, 81.41°)
OKLaboklab(61.65% 0.0166 0.1156)
OKLCHoklch(61.65% 0.117 81.8)
XYZxyz(23.7310, 23.0928, 4.5036)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87D1F #1F4AA8
analogous
#A8391F #A87D1F #8FA81F
triadic
#A87D1F #1FA87D #7D1FA8
tetradic
#A87D1F #1FA839 #1F4AA8 #A81F8F
square
#A87D1F #1FA839 #1F4AA8 #A81F8F
split-complementary
#A87D1F #1F8FA8 #391FA8
monochromatic
#41300C #745715 #A87D1F #D8A22C #E2B960

Accessibility & contrast

On white

3.74
#A87D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#A87D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87D1F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87D1F#FFFFFF#000000##000000
##A87D1F1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0A
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#B7706B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a87d1f;
/* rgb */ color: rgb(168, 125, 31);
/* oklch */ color: oklch(61.6% 0.117 81.8);
Tailwind
colors: {
  custom: {
    50: '#c7a263',
    500: '#a87d1f',
    950: '#000000',
  },
}
SCSS
$custom: #a87d1f;
$custom-light: #c7a263;
$custom-dark: #000000;
JSON
{
  "hex": "#a87d1f",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 41.168,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61649,
    "c": 0.11681,
    "h": 81.8
  },
  "luminance": 0.23091
}

Semantic roles & 50–950 ramp

primary
#A87D1F
secondary
#5D7EC6
accent
#73EC3C
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140F06
muted
#827E7A

Preview Lab

Preview with #A87D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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