#A1871A#A1871A
#A1871A is a light, vivid yellow. Relative luminance 0.250; OKLCH L 63.0% C 0.122 H 94.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A1871A |
|---|---|
| RGB | rgb(161, 135, 26) |
| HSL | hsl(48, 72%, 37%) |
| HSV | hsv(48, 84%, 63%) |
| CMYK | cmyk(0%, 16.1%, 83.9%, 36.9%) |
| CIE-LAB | lab(57.06, -0.86, 56.51) |
| CIE-LCH | lch(57.06, 56.52, 90.87°) |
| OKLab | oklab(62.96% -0.0091 0.1214) |
| OKLCH | oklch(62.96% 0.122 94.3) |
| XYZ | xyz(23.5497, 24.9810, 4.5585) |
| Luminance | 0.2498 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.72
Dark Mustard
#A88905
ΔE00 2.18
Yellowy Brown
#AE8B0C
ΔE00 3.43
Baby Shit Brown
#AD900D
ΔE00 3.67
Baby Poo
#AB9004
ΔE00 3.67
Baby Poop
#937C00
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1871A #1A34A1
analogous
#A1431A #A1871A #78A11A
triadic
#A1871A #1AA187 #871AA1
tetradic
#A1871A #1AA143 #1A34A1 #A11A78
square
#A1871A #1AA143 #1A34A1 #A11A78
split-complementary
#A1871A #1A78A1 #431AA1
monochromatic
#382F09 #6C5B11 #A1871A #D6B323 #E3C752
Accessibility & contrast
On white
3.50
#A1871A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#A1871A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A1871A
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1871A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1871A | 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)
#9D8C22
Tritanopia (blue-blind)
#AF7B73
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a1871a; /* rgb */ color: rgb(161, 135, 26); /* oklch */ color: oklch(63.0% 0.122 94.3);
Tailwind
colors: {
custom: {
50: '#c1a962',
500: '#a1871a',
950: '#000000',
},
}SCSS
$custom: #a1871a; $custom-light: #c1a962; $custom-dark: #000000;
JSON
{
"hex": "#a1871a",
"rgb": {
"r": 161,
"g": 135,
"b": 26
},
"hsl": {
"h": 48.444,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.62958,
"c": 0.12173,
"h": 94.3
},
"luminance": 0.2498
}Semantic roles & 50–950 ramp
primary
#A1871A
secondary
#5167C6
accent
#5CEF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A