#A1871D#A1871D

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

Color values

HEX#A1871D
RGBrgb(161, 135, 29)
HSLhsl(48, 69%, 37%)
HSVhsv(48, 82%, 63%)
CMYKcmyk(0%, 16.1%, 82%, 36.9%)
CIE-LABlab(57.07, -0.76, 55.61)
CIE-LCHlch(57.07, 55.61, 90.79°)
OKLaboklab(62.97% -0.0085 0.1201)
OKLCHoklch(62.97% 0.12 94.1)
XYZxyz(23.5850, 24.9951, 4.7444)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1871D #1D37A1
analogous
#A1451D #A1871D #79A11D
triadic
#A1871D #1DA187 #871DA1
tetradic
#A1871D #1DA145 #1D37A1 #A11D79
square
#A1871D #1DA145 #1D37A1 #A11D79
split-complementary
#A1871D #1D79A1 #451DA1
monochromatic
#39300A #6D5C14 #A1871D #D5B226 #E1C658

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a1871d;
/* rgb */ color: rgb(161, 135, 29);
/* oklch */ color: oklch(63.0% 0.120 94.1);
Tailwind
colors: {
  custom: {
    50: '#c1a964',
    500: '#a1871d',
    950: '#000000',
  },
}
SCSS
$custom: #a1871d;
$custom-light: #c1a964;
$custom-dark: #000000;
JSON
{
  "hex": "#a1871d",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 48.182,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62973,
    "c": 0.12036,
    "h": 94.1
  },
  "luminance": 0.24994
}

Semantic roles & 50–950 ramp

primary
#A1871D
secondary
#556BC4
accent
#5EEC3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1871D

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

Preview Lab → · Contrast checker → · Palette generator →

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