#A1891B#A1891B
#A1891B is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.4% C 0.123 H 95.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A1891B |
|---|---|
| RGB | rgb(161, 137, 27) |
| HSL | hsl(49, 71%, 37%) |
| HSV | hsv(49, 83%, 63%) |
| CMYK | cmyk(0%, 14.9%, 83.2%, 36.9%) |
| CIE-LAB | lab(57.61, -1.93, 56.69) |
| CIE-LCH | lch(57.61, 56.72, 91.95°) |
| OKLab | oklab(63.39% -0.012 0.122) |
| OKLCH | oklch(63.39% 0.123 95.6) |
| XYZ | xyz(23.8428, 25.5489, 4.7123) |
| Luminance | 0.2555 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.37
Dark Mustard
#A88905
ΔE00 2.42
Baby Poo
#AB9004
ΔE00 3.23
Baby Shit Brown
#AD900D
ΔE00 3.33
Yellowy Brown
#AE8B0C
ΔE00 3.65
Baby Poop
#937C00
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1891B #1B33A1
analogous
#A1461B #A1891B #76A11B
triadic
#A1891B #1BA189 #891BA1
tetradic
#A1891B #1BA146 #1B33A1 #A11B76
square
#A1891B #1BA146 #1B33A1 #A11B76
split-complementary
#A1891B #1B76A1 #461BA1
monochromatic
#383009 #6D5C12 #A1891B #D5B624 #E2C954
Accessibility & contrast
On white
3.44
#A1891B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#A1891B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A1891B
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1891B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1891B | 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)
#988600
Deuteranopia (green-blind)
#9E8E23
Tritanopia (blue-blind)
#AF7D75
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a1891b; /* rgb */ color: rgb(161, 137, 27); /* oklch */ color: oklch(63.4% 0.123 95.6);
Tailwind
colors: {
custom: {
50: '#c1ab63',
500: '#a1891b',
950: '#000000',
},
}SCSS
$custom: #a1891b; $custom-light: #c1ab63; $custom-dark: #000000;
JSON
{
"hex": "#a1891b",
"rgb": {
"r": 161,
"g": 137,
"b": 27
},
"hsl": {
"h": 49.254,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.63394,
"c": 0.12258,
"h": 95.6
},
"luminance": 0.25548
}Semantic roles & 50–950 ramp
primary
#A1891B
secondary
#5267C5
accent
#5AEE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A