#A1891F#A1891F
#A1891F is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.121 H 95.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A1891F |
|---|---|
| RGB | rgb(161, 137, 31) |
| HSL | hsl(49, 68%, 38%) |
| HSV | hsv(49, 81%, 63%) |
| CMYK | cmyk(0%, 14.9%, 80.7%, 36.9%) |
| CIE-LAB | lab(57.63, -1.79, 55.45) |
| CIE-LCH | lch(57.63, 55.48, 91.85°) |
| OKLab | oklab(63.42% -0.0113 0.1202) |
| OKLCH | oklch(63.42% 0.121 95.4) |
| XYZ | xyz(23.8923, 25.5687, 4.9729) |
| Luminance | 0.2557 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.52
Dark Mustard
#A88905
ΔE00 2.59
Baby Poo
#AB9004
ΔE00 3.44
Baby Shit Brown
#AD900D
ΔE00 3.49
Yellowy Brown
#AE8B0C
ΔE00 3.74
Baby Poop
#937C00
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1891F #1F37A1
analogous
#A1481F #A1891F #78A11F
triadic
#A1891F #1FA189 #891FA1
tetradic
#A1891F #1FA148 #1F37A1 #A11F78
square
#A1891F #1FA148 #1F37A1 #A11F78
split-complementary
#A1891F #1F78A1 #481FA1
monochromatic
#3A320B #6E5D15 #A1891F #D4B529 #DFC75B
Accessibility & contrast
On white
3.44
#A1891F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#A1891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A1891F
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1891F | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988603
Deuteranopia (green-blind)
#9E8E26
Tritanopia (blue-blind)
#AE7E75
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a1891f; /* rgb */ color: rgb(161, 137, 31); /* oklch */ color: oklch(63.4% 0.121 95.4);
Tailwind
colors: {
custom: {
50: '#c1ab65',
500: '#a1891f',
950: '#000000',
},
}SCSS
$custom: #a1891f; $custom-light: #c1ab65; $custom-dark: #000000;
JSON
{
"hex": "#a1891f",
"rgb": {
"r": 161,
"g": 137,
"b": 31
},
"hsl": {
"h": 48.923,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.63415,
"c": 0.12068,
"h": 95.4
},
"luminance": 0.25567
}Semantic roles & 50–950 ramp
primary
#A1891F
secondary
#586CC4
accent
#5DEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A