#A1851B#A1851B
#A1851B is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.5% C 0.120 H 92.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A1851B |
|---|---|
| RGB | rgb(161, 133, 27) |
| HSL | hsl(47, 71%, 37%) |
| HSV | hsv(47, 83%, 63%) |
| CMYK | cmyk(0%, 17.4%, 83.2%, 36.9%) |
| CIE-LAB | lab(56.52, 0.28, 55.75) |
| CIE-LCH | lch(56.52, 55.75, 89.71°) |
| OKLab | oklab(62.53% -0.0058 0.1199) |
| OKLCH | oklch(62.53% 0.12 92.8) |
| XYZ | xyz(23.2847, 24.4327, 4.5263) |
| Luminance | 0.2443 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.48
Dark Mustard
#A88905
ΔE00 2.39
Yellowy Brown
#AE8B0C
ΔE00 3.47
Yellowish Brown
#9B7A01
ΔE00 4.02
Baby Poop
#937C00
ΔE00 4.08
Baby Shit Brown
#AD900D
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1851B #1B37A1
analogous
#A1421B #A1851B #7AA11B
triadic
#A1851B #1BA185 #851BA1
tetradic
#A1851B #1BA142 #1B37A1 #A11B7A
square
#A1851B #1BA142 #1B37A1 #A11B7A
split-complementary
#A1851B #1B7AA1 #421BA1
monochromatic
#382E09 #6D5A12 #A1851B #D5B024 #E2C554
Accessibility & contrast
On white
3.57
#A1851B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#A1851B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A1851B
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1851B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1851B | 1.00 | 3.57 | 5.89 | 5.89 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9C8B23
Tritanopia (blue-blind)
#AF7972
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a1851b; /* rgb */ color: rgb(161, 133, 27); /* oklch */ color: oklch(62.5% 0.120 92.8);
Tailwind
colors: {
custom: {
50: '#c1a862',
500: '#a1851b',
950: '#000000',
},
}SCSS
$custom: #a1851b; $custom-light: #c1a862; $custom-dark: #000000;
JSON
{
"hex": "#a1851b",
"rgb": {
"r": 161,
"g": 133,
"b": 27
},
"hsl": {
"h": 47.463,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.62534,
"c": 0.12008,
"h": 92.8
},
"luminance": 0.24431
}Semantic roles & 50–950 ramp
primary
#A1851B
secondary
#526AC5
accent
#5FEE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A