#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 |
|---|---|
| RGB | rgb(161, 135, 42) |
| HSL | hsl(47, 59%, 40%) |
| HSV | hsv(47, 74%, 63%) |
| CMYK | cmyk(0%, 16.1%, 73.9%, 36.9%) |
| CIE-LAB | lab(57.15, -0.22, 50.96) |
| CIE-LCH | lch(57.15, 50.96, 90.25°) |
| OKLab | oklab(63.06% -0.0056 0.1129) |
| OKLCH | oklch(63.06% 0.113 92.9) |
| XYZ | xyz(23.7811, 25.0736, 5.7771) |
| Luminance | 0.2507 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.98
Dark Mustard
#A88905
ΔE00 3.39
Yellowy Brown
#AE8B0C
ΔE00 4.16
Baby Shit Brown
#AD900D
ΔE00 4.60
Baby Poo
#AB9004
ΔE00 4.76
Baby Poop
#937C00
ΔE00 4.93
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 |
|---|---|---|---|---|
| ##A1872A | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.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