#A87F1C#A87F1C

#A87F1C is a light, moderate orange. Relative luminance 0.236; OKLCH L 62.0% C 0.119 H 83.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A87F1C
RGBrgb(168, 127, 28)
HSLhsl(42, 71%, 38%)
HSVhsv(42, 83%, 66%)
CMYKcmyk(0%, 24.4%, 83.3%, 34.1%)
CIE-LABlab(55.67, 6.87, 54.99)
CIE-LCHlch(55.67, 55.42, 82.88°)
OKLaboklab(62.04% 0.0128 0.1181)
OKLCHoklch(62.04% 0.119 83.8)
XYZxyz(23.9491, 23.5892, 4.3902)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87F1C #1C45A8
analogous
#A8391C #A87F1C #8BA81C
triadic
#A87F1C #1CA87F #7F1CA8
tetradic
#A87F1C #1CA839 #1C45A8 #A81C8B
square
#A87F1C #1CA839 #1C45A8 #A81C8B
split-complementary
#A87F1C #1C8BA8 #391CA8
monochromatic
#3F300B #745713 #A87F1C #DBA626 #E4BC5B

Accessibility & contrast

On white

3.67
#A87F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A87F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87F1C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87F1C#FFFFFF#000000##000000
##A87F1C1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F02
Deuteranopia (green-blind)
#9A8A22
Tritanopia (blue-blind)
#B7726D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a87f1c;
/* rgb */ color: rgb(168, 127, 28);
/* oklch */ color: oklch(62.0% 0.119 83.8);
Tailwind
colors: {
  custom: {
    50: '#c7a362',
    500: '#a87f1c',
    950: '#000000',
  },
}
SCSS
$custom: #a87f1c;
$custom-light: #c7a362;
$custom-dark: #000000;
JSON
{
  "hex": "#a87f1c",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 42.429,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62041,
    "c": 0.11879,
    "h": 83.8
  },
  "luminance": 0.23587
}

Semantic roles & 50–950 ramp

primary
#A87F1C
secondary
#5879C7
accent
#6FEE3A
background
#FCFAF6
surface
#F9F3EB
border
#D2CDC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A87F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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