#A0871B#A0871B

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

Color values

HEX#A0871B
RGBrgb(160, 135, 27)
HSLhsl(49, 71%, 37%)
HSVhsv(49, 83%, 63%)
CMYKcmyk(0%, 15.6%, 83.1%, 37.3%)
CIE-LABlab(56.96, -1.29, 56.09)
CIE-LCHlch(56.96, 56.11, 91.31°)
OKLaboklab(62.86% -0.0102 0.1207)
OKLCHoklch(62.86% 0.121 94.8)
XYZxyz(23.3603, 24.8820, 4.6090)
Luminance0.2488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0871B #1B34A0
analogous
#A0451B #A0871B #77A01B
triadic
#A0871B #1BA087 #871BA0
tetradic
#A0871B #1BA045 #1B34A0 #A01B77
square
#A0871B #1BA045 #1B34A0 #A01B77
split-complementary
#A0871B #1B77A0 #451BA0
monochromatic
#372F09 #6C5B12 #A0871B #D4B324 #E2C753

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0871B#FFFFFF#000000##000000
##A0871B1.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)
#968400
Deuteranopia (green-blind)
#9D8C23
Tritanopia (blue-blind)
#AE7B73
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a0871b;
/* rgb */ color: rgb(160, 135, 27);
/* oklch */ color: oklch(62.9% 0.121 94.8);
Tailwind
colors: {
  custom: {
    50: '#c0a963',
    500: '#a0871b',
    950: '#000000',
  },
}
SCSS
$custom: #a0871b;
$custom-light: #c0a963;
$custom-dark: #000000;
JSON
{
  "hex": "#a0871b",
  "rgb": {
    "r": 160,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 48.722,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62859,
    "c": 0.12117,
    "h": 94.8
  },
  "luminance": 0.24881
}

Semantic roles & 50–950 ramp

primary
#A0871B
secondary
#5267C5
accent
#5CEE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A0871B

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

Preview Lab → · Contrast checker → · Palette generator →

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