#A1871B#A1871B
#A1871B is a light, vivid yellow. Relative luminance 0.250; OKLCH L 63.0% C 0.121 H 94.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A1871B |
|---|---|
| RGB | rgb(161, 135, 27) |
| HSL | hsl(48, 71%, 37%) |
| HSV | hsv(48, 83%, 63%) |
| CMYK | cmyk(0%, 16.1%, 83.2%, 36.9%) |
| CIE-LAB | lab(57.06, -0.83, 56.22) |
| CIE-LCH | lch(57.06, 56.22, 90.84°) |
| OKLab | oklab(62.96% -0.0089 0.121) |
| OKLCH | oklch(62.96% 0.121 94.2) |
| XYZ | xyz(23.5611, 24.9856, 4.6184) |
| Luminance | 0.2498 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.77
Dark Mustard
#A88905
ΔE00 2.23
Yellowy Brown
#AE8B0C
ΔE00 3.45
Baby Shit Brown
#AD900D
ΔE00 3.70
Baby Poo
#AB9004
ΔE00 3.72
Baby Poop
#937C00
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1871B #1B35A1
analogous
#A1441B #A1871B #78A11B
triadic
#A1871B #1BA187 #871BA1
tetradic
#A1871B #1BA144 #1B35A1 #A11B78
square
#A1871B #1BA144 #1B35A1 #A11B78
split-complementary
#A1871B #1B78A1 #441BA1
monochromatic
#382F09 #6D5B12 #A1871B #D5B324 #E2C754
Accessibility & contrast
On white
3.50
#A1871B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#A1871B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A1871B
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1871B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1871B | 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)
#968400
Deuteranopia (green-blind)
#9D8C23
Tritanopia (blue-blind)
#AF7B73
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a1871b; /* rgb */ color: rgb(161, 135, 27); /* oklch */ color: oklch(63.0% 0.121 94.2);
Tailwind
colors: {
custom: {
50: '#c1a963',
500: '#a1871b',
950: '#000000',
},
}SCSS
$custom: #a1871b; $custom-light: #c1a963; $custom-dark: #000000;
JSON
{
"hex": "#a1871b",
"rgb": {
"r": 161,
"g": 135,
"b": 27
},
"hsl": {
"h": 48.358,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.62963,
"c": 0.12129,
"h": 94.2
},
"luminance": 0.24984
}Semantic roles & 50–950 ramp
primary
#A1871B
secondary
#5269C5
accent
#5DEE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A