#A0871B#A0871B
#A0871B is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.9% C 0.121 H 94.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A0871B |
|---|---|
| RGB | rgb(160, 135, 27) |
| HSL | hsl(49, 71%, 37%) |
| HSV | hsv(49, 83%, 63%) |
| CMYK | cmyk(0%, 15.6%, 83.1%, 37.3%) |
| CIE-LAB | lab(56.96, -1.29, 56.09) |
| CIE-LCH | lch(56.96, 56.11, 91.31°) |
| OKLab | oklab(62.86% -0.0102 0.1207) |
| OKLCH | oklch(62.86% 0.121 94.8) |
| XYZ | xyz(23.3603, 24.8820, 4.6090) |
| Luminance | 0.2488 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.84
Dark Mustard
#A88905
ΔE00 2.46
Yellowy Brown
#AE8B0C
ΔE00 3.72
Baby Poo
#AB9004
ΔE00 3.79
Baby Shit Brown
#AD900D
ΔE00 3.83
Baby Poop
#937C00
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0871B #1B34A0
analogous
#A0451B #A0871B #77A01B
triadic
#A0871B #1BA087 #871BA0
tetradic
#A0871B #1BA045 #1B34A0 #A01B77
square
#A0871B #1BA045 #1B34A0 #A01B77
split-complementary
#A0871B #1B77A0 #451BA0
monochromatic
#372F09 #6C5B12 #A0871B #D4B324 #E2C753
Accessibility & contrast
On white
3.51
#A0871B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#A0871B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A0871B
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0871B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A0871B | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#9D8C23
Tritanopia (blue-blind)
#AE7B73
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a0871b; /* rgb */ color: rgb(160, 135, 27); /* oklch */ color: oklch(62.9% 0.121 94.8);
Tailwind
colors: {
custom: {
50: '#c0a963',
500: '#a0871b',
950: '#000000',
},
}SCSS
$custom: #a0871b; $custom-light: #c0a963; $custom-dark: #000000;
JSON
{
"hex": "#a0871b",
"rgb": {
"r": 160,
"g": 135,
"b": 27
},
"hsl": {
"h": 48.722,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.62859,
"c": 0.12117,
"h": 94.8
},
"luminance": 0.24881
}Semantic roles & 50–950 ramp
primary
#A0871B
secondary
#5267C5
accent
#5CEE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A