#A1821D#A1821D
#A1821D is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.9% C 0.117 H 90.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A1821D |
|---|---|
| RGB | rgb(161, 130, 29) |
| HSL | hsl(46, 69%, 37%) |
| HSV | hsv(46, 82%, 63%) |
| CMYK | cmyk(0%, 19.3%, 82%, 36.9%) |
| CIE-LAB | lab(55.72, 2.01, 54.41) |
| CIE-LCH | lch(55.72, 54.45, 87.88°) |
| OKLab | oklab(61.91% -0.0006 0.1175) |
| OKLCH | oklch(61.91% 0.117 90.3) |
| XYZ | xyz(22.9037, 23.6325, 4.5173) |
| Luminance | 0.2363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.15
Yellowish Brown
#9B7A01
ΔE00 3.05
Dark Mustard
#A88905
ΔE00 3.29
Yellowy Brown
#AE8B0C
ΔE00 4.01
Baby Poop
#937C00
ΔE00 4.09
Puke Brown
#947706
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1821D #1D3CA1
analogous
#A1401D #A1821D #7EA11D
triadic
#A1821D #1DA182 #821DA1
tetradic
#A1821D #1DA140 #1D3CA1 #A11D7E
square
#A1821D #1DA140 #1D3CA1 #A11D7E
split-complementary
#A1821D #1D7EA1 #401DA1
monochromatic
#392E0A #6D5814 #A1821D #D5AC26 #E1C158
Accessibility & contrast
On white
3.67
#A1821D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#A1821D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A1821D
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1821D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1821D | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928003
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#AF766F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a1821d; /* rgb */ color: rgb(161, 130, 29); /* oklch */ color: oklch(61.9% 0.117 90.3);
Tailwind
colors: {
custom: {
50: '#c1a563',
500: '#a1821d',
950: '#000000',
},
}SCSS
$custom: #a1821d; $custom-light: #c1a563; $custom-dark: #000000;
JSON
{
"hex": "#a1821d",
"rgb": {
"r": 161,
"g": 130,
"b": 29
},
"hsl": {
"h": 45.909,
"s": 69.474,
"l": 37.255
},
"oklch": {
"l": 0.61905,
"c": 0.11748,
"h": 90.3
},
"luminance": 0.23631
}Semantic roles & 50–950 ramp
primary
#A1821D
secondary
#556FC4
accent
#65EC3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A