#A1831F#A1831F
#A1831F is a light, moderate yellow. Relative luminance 0.239; OKLCH L 62.1% C 0.117 H 90.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A1831F |
|---|---|
| RGB | rgb(161, 131, 31) |
| HSL | hsl(46, 68%, 38%) |
| HSV | hsv(46, 81%, 63%) |
| CMYK | cmyk(0%, 18.6%, 80.7%, 36.9%) |
| CIE-LAB | lab(56.00, 1.53, 53.99) |
| CIE-LCH | lch(56.00, 54.02, 88.38°) |
| OKLab | oklab(62.13% -0.0018 0.117) |
| OKLCH | oklch(62.13% 0.117 90.9) |
| XYZ | xyz(23.0629, 23.9101, 4.6964) |
| Luminance | 0.2391 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.08
Dark Mustard
#A88905
ΔE00 3.12
Yellowish Brown
#9B7A01
ΔE00 3.40
Yellowy Brown
#AE8B0C
ΔE00 3.90
Baby Poop
#937C00
ΔE00 4.14
Puke Brown
#947706
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1831F #1F3DA1
analogous
#A1421F #A1831F #7EA11F
triadic
#A1831F #1FA183 #831FA1
tetradic
#A1831F #1FA142 #1F3DA1 #A11F7E
square
#A1831F #1FA142 #1F3DA1 #A11F7E
split-complementary
#A1831F #1F7EA1 #421FA1
monochromatic
#3A2F0B #6E5915 #A1831F #D4AD29 #DFC15B
Accessibility & contrast
On white
3.63
#A1831F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#A1831F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A1831F
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1831F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1831F | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938107
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#AF7770
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a1831f; /* rgb */ color: rgb(161, 131, 31); /* oklch */ color: oklch(62.1% 0.117 90.9);
Tailwind
colors: {
custom: {
50: '#c1a664',
500: '#a1831f',
950: '#000000',
},
}SCSS
$custom: #a1831f; $custom-light: #c1a664; $custom-dark: #000000;
JSON
{
"hex": "#a1831f",
"rgb": {
"r": 161,
"g": 131,
"b": 31
},
"hsl": {
"h": 46.154,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.62129,
"c": 0.11702,
"h": 90.9
},
"luminance": 0.23909
}Semantic roles & 50–950 ramp
primary
#A1831F
secondary
#5871C4
accent
#65EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A