#A1871A#A1871A

#A1871A is a light, vivid yellow. Relative luminance 0.250; OKLCH L 63.0% C 0.122 H 94.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A1871A
RGBrgb(161, 135, 26)
HSLhsl(48, 72%, 37%)
HSVhsv(48, 84%, 63%)
CMYKcmyk(0%, 16.1%, 83.9%, 36.9%)
CIE-LABlab(57.06, -0.86, 56.51)
CIE-LCHlch(57.06, 56.52, 90.87°)
OKLaboklab(62.96% -0.0091 0.1214)
OKLCHoklch(62.96% 0.122 94.3)
XYZxyz(23.5497, 24.9810, 4.5585)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1871A #1A34A1
analogous
#A1431A #A1871A #78A11A
triadic
#A1871A #1AA187 #871AA1
tetradic
#A1871A #1AA143 #1A34A1 #A11A78
square
#A1871A #1AA143 #1A34A1 #A11A78
split-complementary
#A1871A #1A78A1 #431AA1
monochromatic
#382F09 #6C5B11 #A1871A #D6B323 #E3C752

Accessibility & contrast

On white

3.50
#A1871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#A1871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1871A
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1871A#FFFFFF#000000##000000
##A1871A1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#9D8C22
Tritanopia (blue-blind)
#AF7B73
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a1871a;
/* rgb */ color: rgb(161, 135, 26);
/* oklch */ color: oklch(63.0% 0.122 94.3);
Tailwind
colors: {
  custom: {
    50: '#c1a962',
    500: '#a1871a',
    950: '#000000',
  },
}
SCSS
$custom: #a1871a;
$custom-light: #c1a962;
$custom-dark: #000000;
JSON
{
  "hex": "#a1871a",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 48.444,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62958,
    "c": 0.12173,
    "h": 94.3
  },
  "luminance": 0.2498
}

Semantic roles & 50–950 ramp

primary
#A1871A
secondary
#5167C6
accent
#5CEF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1871A

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

Preview Lab → · Contrast checker → · Palette generator →

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