#A1871B#A1871B

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

Color values

HEX#A1871B
RGBrgb(161, 135, 27)
HSLhsl(48, 71%, 37%)
HSVhsv(48, 83%, 63%)
CMYKcmyk(0%, 16.1%, 83.2%, 36.9%)
CIE-LABlab(57.06, -0.83, 56.22)
CIE-LCHlch(57.06, 56.22, 90.84°)
OKLaboklab(62.96% -0.0089 0.121)
OKLCHoklch(62.96% 0.121 94.2)
XYZxyz(23.5611, 24.9856, 4.6184)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1871B #1B35A1
analogous
#A1441B #A1871B #78A11B
triadic
#A1871B #1BA187 #871BA1
tetradic
#A1871B #1BA144 #1B35A1 #A11B78
square
#A1871B #1BA144 #1B35A1 #A11B78
split-complementary
#A1871B #1B78A1 #441BA1
monochromatic
#382F09 #6D5B12 #A1871B #D5B324 #E2C754

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a1871b;
/* rgb */ color: rgb(161, 135, 27);
/* oklch */ color: oklch(63.0% 0.121 94.2);
Tailwind
colors: {
  custom: {
    50: '#c1a963',
    500: '#a1871b',
    950: '#000000',
  },
}
SCSS
$custom: #a1871b;
$custom-light: #c1a963;
$custom-dark: #000000;
JSON
{
  "hex": "#a1871b",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 48.358,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62963,
    "c": 0.12129,
    "h": 94.2
  },
  "luminance": 0.24984
}

Semantic roles & 50–950 ramp

primary
#A1871B
secondary
#5269C5
accent
#5DEE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1871B

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

Preview Lab → · Contrast checker → · Palette generator →

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