#A1872A#A1872A

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

Color values

HEX#A1872A
RGBrgb(161, 135, 42)
HSLhsl(47, 59%, 40%)
HSVhsv(47, 74%, 63%)
CMYKcmyk(0%, 16.1%, 73.9%, 36.9%)
CIE-LABlab(57.15, -0.22, 50.96)
CIE-LCHlch(57.15, 50.96, 90.25°)
OKLaboklab(63.06% -0.0056 0.1129)
OKLCHoklch(63.06% 0.113 92.9)
XYZxyz(23.7811, 25.0736, 5.7771)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1872A #2A44A1
analogous
#A14C2A #A1872A #7FA12A
triadic
#A1872A #2AA187 #872AA1
tetradic
#A1872A #2AA14C #2A44A1 #A12A7F
square
#A1872A #2AA14C #2A44A1 #A12A7F
split-complementary
#A1872A #2A7FA1 #4C2AA1
monochromatic
#403611 #705E1D #A1872A #CCAD3C #D9C16D

Accessibility & contrast

On white

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

On black

6.01
#A1872A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1872A
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1872A#FFFFFF#000000##000000
##A1872A1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851C
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#AE7C74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a1872a;
/* rgb */ color: rgb(161, 135, 42);
/* oklch */ color: oklch(63.1% 0.113 92.9);
Tailwind
colors: {
  custom: {
    50: '#c1a96a',
    500: '#a1872a',
    950: '#000000',
  },
}
SCSS
$custom: #a1872a;
$custom-light: #c1a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1872a",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 46.891,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63058,
    "c": 0.113,
    "h": 92.9
  },
  "luminance": 0.25072
}

Semantic roles & 50–950 ramp

primary
#A1872A
secondary
#677BC0
accent
#68E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A1872A

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

Preview Lab → · Contrast checker → · Palette generator →

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