#A1841F#A1841F
#A1841F is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.118 H 91.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A1841F |
|---|---|
| RGB | rgb(161, 132, 31) |
| HSL | hsl(47, 68%, 38%) |
| HSV | hsv(47, 81%, 63%) |
| CMYK | cmyk(0%, 18%, 80.7%, 36.9%) |
| CIE-LAB | lab(56.27, 0.97, 54.24) |
| CIE-LCH | lch(56.27, 54.24, 88.97°) |
| OKLab | oklab(62.34% -0.0034 0.1175) |
| OKLCH | oklch(62.34% 0.118 91.7) |
| XYZ | xyz(23.1979, 24.1800, 4.7414) |
| Luminance | 0.2418 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.90
Dark Mustard
#A88905
ΔE00 2.86
Yellowish Brown
#9B7A01
ΔE00 3.73
Yellowy Brown
#AE8B0C
ΔE00 3.73
Baby Poop
#937C00
ΔE00 4.14
Baby Shit Brown
#AD900D
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1841F #1F3CA1
analogous
#A1431F #A1841F #7DA11F
triadic
#A1841F #1FA184 #841FA1
tetradic
#A1841F #1FA143 #1F3CA1 #A11F7D
square
#A1841F #1FA143 #1F3CA1 #A11F7D
split-complementary
#A1841F #1F7DA1 #431FA1
monochromatic
#3A300B #6E5A15 #A1841F #D4AE29 #DFC25B
Accessibility & contrast
On white
3.60
#A1841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#A1841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A1841F
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1841F | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948206
Deuteranopia (green-blind)
#9B8A26
Tritanopia (blue-blind)
#AF7871
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a1841f; /* rgb */ color: rgb(161, 132, 31); /* oklch */ color: oklch(62.3% 0.118 91.7);
Tailwind
colors: {
custom: {
50: '#c1a764',
500: '#a1841f',
950: '#000000',
},
}SCSS
$custom: #a1841f; $custom-light: #c1a764; $custom-dark: #000000;
JSON
{
"hex": "#a1841f",
"rgb": {
"r": 161,
"g": 132,
"b": 31
},
"hsl": {
"h": 46.615,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.62342,
"c": 0.11759,
"h": 91.7
},
"luminance": 0.24179
}Semantic roles & 50–950 ramp
primary
#A1841F
secondary
#5870C4
accent
#64EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A