#A1871C#A1871C

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

Color values

HEX#A1871C
RGBrgb(161, 135, 28)
HSLhsl(48, 70%, 37%)
HSVhsv(48, 83%, 63%)
CMYKcmyk(0%, 16.1%, 82.6%, 36.9%)
CIE-LABlab(57.07, -0.80, 55.92)
CIE-LCHlch(57.07, 55.92, 90.82°)
OKLaboklab(62.97% -0.0087 0.1205)
OKLCHoklch(62.97% 0.121 94.1)
XYZxyz(23.5729, 24.9903, 4.6804)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1871C #1C36A1
analogous
#A1451C #A1871C #78A11C
triadic
#A1871C #1CA187 #871CA1
tetradic
#A1871C #1CA145 #1C36A1 #A11C78
square
#A1871C #1CA145 #1C36A1 #A11C78
split-complementary
#A1871C #1C78A1 #451CA1
monochromatic
#39300A #6D5B13 #A1871C #D5B325 #E2C656

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1871C#FFFFFF#000000##000000
##A1871C1.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)
#9D8C24
Tritanopia (blue-blind)
#AF7B73
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a1871c;
/* rgb */ color: rgb(161, 135, 28);
/* oklch */ color: oklch(63.0% 0.121 94.1);
Tailwind
colors: {
  custom: {
    50: '#c1a963',
    500: '#a1871c',
    950: '#000000',
  },
}
SCSS
$custom: #a1871c;
$custom-light: #c1a963;
$custom-dark: #000000;
JSON
{
  "hex": "#a1871c",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 48.271,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62968,
    "c": 0.12084,
    "h": 94.1
  },
  "luminance": 0.24989
}

Semantic roles & 50–950 ramp

primary
#A1871C
secondary
#546AC5
accent
#5EED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1871C

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

Preview Lab → · Contrast checker → · Palette generator →

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