#A1881F#A1881F
#A1881F is a light, vivid yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.120 H 94.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A1881F |
|---|---|
| RGB | rgb(161, 136, 31) |
| HSL | hsl(48, 68%, 38%) |
| HSV | hsv(48, 81%, 63%) |
| CMYK | cmyk(0%, 15.5%, 80.7%, 36.9%) |
| CIE-LAB | lab(57.35, -1.24, 55.21) |
| CIE-LCH | lch(57.35, 55.22, 91.29°) |
| OKLab | oklab(63.2% -0.0097 0.1196) |
| OKLCH | oklch(63.2% 0.12 94.6) |
| XYZ | xyz(23.7508, 25.2857, 4.9257) |
| Luminance | 0.2528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.23
Dark Mustard
#A88905
ΔE00 2.49
Yellowy Brown
#AE8B0C
ΔE00 3.63
Baby Shit Brown
#AD900D
ΔE00 3.66
Baby Poo
#AB9004
ΔE00 3.66
Baby Poop
#937C00
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1881F #1F38A1
analogous
#A1471F #A1881F #79A11F
triadic
#A1881F #1FA188 #881FA1
tetradic
#A1881F #1FA147 #1F38A1 #A11F79
square
#A1881F #1FA147 #1F38A1 #A11F79
split-complementary
#A1881F #1F79A1 #471FA1
monochromatic
#3A310B #6E5D15 #A1881F #D4B329 #DFC65B
Accessibility & contrast
On white
3.47
#A1881F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#A1881F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A1881F
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1881F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1881F | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978504
Deuteranopia (green-blind)
#9E8D26
Tritanopia (blue-blind)
#AF7C74
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a1881f; /* rgb */ color: rgb(161, 136, 31); /* oklch */ color: oklch(63.2% 0.120 94.6);
Tailwind
colors: {
custom: {
50: '#c1aa65',
500: '#a1881f',
950: '#000000',
},
}SCSS
$custom: #a1881f; $custom-light: #c1aa65; $custom-dark: #000000;
JSON
{
"hex": "#a1881f",
"rgb": {
"r": 161,
"g": 136,
"b": 31
},
"hsl": {
"h": 48.462,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.63199,
"c": 0.12002,
"h": 94.6
},
"luminance": 0.25284
}Semantic roles & 50–950 ramp
primary
#A1881F
secondary
#586DC4
accent
#5FEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A