#A1871F#A1871F
#A1871F is a light, moderate yellow. Relative luminance 0.250; OKLCH L 63.0% C 0.119 H 93.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A1871F |
|---|---|
| RGB | rgb(161, 135, 31) |
| HSL | hsl(48, 68%, 38%) |
| HSV | hsv(48, 81%, 63%) |
| CMYK | cmyk(0%, 16.1%, 80.7%, 36.9%) |
| CIE-LAB | lab(57.08, -0.69, 54.96) |
| CIE-LCH | lch(57.08, 54.97, 90.72°) |
| OKLab | oklab(62.98% -0.0081 0.1191) |
| OKLCH | oklch(62.98% 0.119 93.9) |
| XYZ | xyz(23.6106, 25.0053, 4.8790) |
| Luminance | 0.2500 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.00
Dark Mustard
#A88905
ΔE00 2.46
Yellowy Brown
#AE8B0C
ΔE00 3.57
Baby Shit Brown
#AD900D
ΔE00 3.88
Baby Poo
#AB9004
ΔE00 3.93
Baby Poop
#937C00
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1871F #1F39A1
analogous
#A1461F #A1871F #7AA11F
triadic
#A1871F #1FA187 #871FA1
tetradic
#A1871F #1FA146 #1F39A1 #A11F7A
square
#A1871F #1FA146 #1F39A1 #A11F7A
split-complementary
#A1871F #1F7AA1 #461FA1
monochromatic
#3A310B #6E5C15 #A1871F #D4B229 #DFC55B
Accessibility & contrast
On white
3.50
#A1871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#A1871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A1871F
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1871F | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968505
Deuteranopia (green-blind)
#9D8C26
Tritanopia (blue-blind)
#AF7B74
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a1871f; /* rgb */ color: rgb(161, 135, 31); /* oklch */ color: oklch(63.0% 0.119 93.9);
Tailwind
colors: {
custom: {
50: '#c1a964',
500: '#a1871f',
950: '#000000',
},
}SCSS
$custom: #a1871f; $custom-light: #c1a964; $custom-dark: #000000;
JSON
{
"hex": "#a1871f",
"rgb": {
"r": 161,
"g": 135,
"b": 31
},
"hsl": {
"h": 48,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.62984,
"c": 0.11939,
"h": 93.9
},
"luminance": 0.25004
}Semantic roles & 50–950 ramp
primary
#A1871F
secondary
#586EC4
accent
#60EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A