#A1872D#A1872D

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

Color values

HEX#A1872D
RGBrgb(161, 135, 45)
HSLhsl(47, 56%, 40%)
HSVhsv(47, 72%, 63%)
CMYKcmyk(0%, 16.1%, 72%, 36.9%)
CIE-LABlab(57.17, -0.07, 49.75)
CIE-LCHlch(57.17, 49.75, 90.08°)
OKLaboklab(63.08% -0.0049 0.1109)
OKLCHoklch(63.08% 0.111 92.5)
XYZxyz(23.8368, 25.0958, 6.0706)
Luminance0.2509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1872D #2D47A1
analogous
#A14D2D #A1872D #81A12D
triadic
#A1872D #2DA187 #872DA1
tetradic
#A1872D #2DA14D #2D47A1 #A12D81
square
#A1872D #2DA14D #2D47A1 #A12D81
split-complementary
#A1872D #2D81A1 #4D2DA1
monochromatic
#413712 #715F20 #A1872D #CAAB41 #D7C071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1872D#FFFFFF#000000##000000
##A1872D1.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)
#968520
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#AE7C75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a1872d;
/* rgb */ color: rgb(161, 135, 45);
/* oklch */ color: oklch(63.1% 0.111 92.5);
Tailwind
colors: {
  custom: {
    50: '#c0a96c',
    500: '#a1872d',
    950: '#000000',
  },
}
SCSS
$custom: #a1872d;
$custom-light: #c0a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1872d",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 46.552,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63082,
    "c": 0.11098,
    "h": 92.5
  },
  "luminance": 0.25094
}

Semantic roles & 50–950 ramp

primary
#A1872D
secondary
#6B7EBF
accent
#6AE048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A1872D

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

Preview Lab → · Contrast checker → · Palette generator →

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