#A1872B#A1872B

#A1872B is a light, moderate yellow. Relative luminance 0.251; OKLCH L 63.1% C 0.112 H 92.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A1872B
RGBrgb(161, 135, 43)
HSLhsl(47, 58%, 40%)
HSVhsv(47, 73%, 63%)
CMYKcmyk(0%, 16.1%, 73.3%, 36.9%)
CIE-LABlab(57.15, -0.17, 50.56)
CIE-LCHlch(57.15, 50.56, 90.20°)
OKLaboklab(63.07% -0.0054 0.1122)
OKLCHoklch(63.07% 0.112 92.8)
XYZxyz(23.7992, 25.0808, 5.8726)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1872B #2B45A1
analogous
#A14C2B #A1872B #80A12B
triadic
#A1872B #2BA187 #872BA1
tetradic
#A1872B #2BA14C #2B45A1 #A12B80
square
#A1872B #2BA14C #2B45A1 #A12B80
split-complementary
#A1872B #2B80A1 #4C2BA1
monochromatic
#403611 #715F1E #A1872B #CBAC3E #D8C16E

Accessibility & contrast

On white

3.49
#A1872B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#A1872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1872B
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1872B#FFFFFF#000000##000000
##A1872B1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851D
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#AE7C75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a1872b;
/* rgb */ color: rgb(161, 135, 43);
/* oklch */ color: oklch(63.1% 0.112 92.8);
Tailwind
colors: {
  custom: {
    50: '#c0a96a',
    500: '#a1872b',
    950: '#000000',
  },
}
SCSS
$custom: #a1872b;
$custom-light: #c0a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1872b",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 46.78,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.63065,
    "c": 0.11234,
    "h": 92.8
  },
  "luminance": 0.25079
}

Semantic roles & 50–950 ramp

primary
#A1872B
secondary
#697CBF
accent
#69E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A1872B

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

Preview Lab → · Contrast checker → · Palette generator →

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