#A0871F#A0871F

#A0871F is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.9% C 0.119 H 94.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A0871F
RGBrgb(160, 135, 31)
HSLhsl(48, 68%, 37%)
HSVhsv(48, 81%, 63%)
CMYKcmyk(0%, 15.6%, 80.6%, 37.3%)
CIE-LABlab(56.98, -1.15, 54.84)
CIE-LCHlch(56.98, 54.85, 91.20°)
OKLaboklab(62.88% -0.0094 0.1189)
OKLCHoklch(62.88% 0.119 94.5)
XYZxyz(23.4098, 24.9018, 4.8696)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0871F #1F38A0
analogous
#A0461F #A0871F #79A01F
triadic
#A0871F #1FA087 #871FA0
tetradic
#A0871F #1FA046 #1F38A0 #A01F79
square
#A0871F #1FA046 #1F38A0 #A01F79
split-complementary
#A0871F #1F79A0 #461FA0
monochromatic
#39300B #6D5C15 #A0871F #D3B229 #DFC55A

Accessibility & contrast

On white

3.51
#A0871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#A0871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A0871F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0871F#FFFFFF#000000##000000
##A0871F1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968405
Deuteranopia (green-blind)
#9C8C26
Tritanopia (blue-blind)
#AD7C74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a0871f;
/* rgb */ color: rgb(160, 135, 31);
/* oklch */ color: oklch(62.9% 0.119 94.5);
Tailwind
colors: {
  custom: {
    50: '#c0a964',
    500: '#a0871f',
    950: '#000000',
  },
}
SCSS
$custom: #a0871f;
$custom-light: #c0a964;
$custom-dark: #000000;
JSON
{
  "hex": "#a0871f",
  "rgb": {
    "r": 160,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 48.372,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62881,
    "c": 0.11925,
    "h": 94.5
  },
  "luminance": 0.249
}

Semantic roles & 50–950 ramp

primary
#A0871F
secondary
#586DC3
accent
#5FEA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A0871F

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

Preview Lab → · Contrast checker → · Palette generator →

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