#A18B1B#A18B1B
#A18B1B is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.8% C 0.124 H 97.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A18B1B |
|---|---|
| RGB | rgb(161, 139, 27) |
| HSL | hsl(50, 71%, 37%) |
| HSV | hsv(50, 83%, 63%) |
| CMYK | cmyk(0%, 13.7%, 83.2%, 36.9%) |
| CIE-LAB | lab(58.15, -3.03, 57.16) |
| CIE-LCH | lch(58.15, 57.24, 93.03°) |
| OKLab | oklab(63.83% -0.0151 0.123) |
| OKLCH | oklch(63.83% 0.124 97) |
| XYZ | xyz(24.1297, 26.1228, 4.8079) |
| Luminance | 0.2612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 2.87
Baby Poo
#AB9004
ΔE00 2.93
Diarrhea
#9F8303
ΔE00 3.11
Baby Shit Brown
#AD900D
ΔE00 3.17
Yellowy Brown
#AE8B0C
ΔE00 4.03
Brown Yellow
#B29705
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18B1B #1B31A1
analogous
#A1481B #A18B1B #74A11B
triadic
#A18B1B #1BA18B #8B1BA1
tetradic
#A18B1B #1BA148 #1B31A1 #A11B74
square
#A18B1B #1BA148 #1B31A1 #A11B74
split-complementary
#A18B1B #1B74A1 #481BA1
monochromatic
#383109 #6D5E12 #A18B1B #D5B824 #E2CB54
Accessibility & contrast
On white
3.37
#A18B1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#A18B1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18B1B
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18B1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18B1B | 1.00 | 3.37 | 6.22 | 6.22 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#A08F24
Tritanopia (blue-blind)
#AE7F77
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a18b1b; /* rgb */ color: rgb(161, 139, 27); /* oklch */ color: oklch(63.8% 0.124 97.0);
Tailwind
colors: {
custom: {
50: '#c1ac63',
500: '#a18b1b',
950: '#000000',
},
}SCSS
$custom: #a18b1b; $custom-light: #c1ac63; $custom-dark: #000000;
JSON
{
"hex": "#a18b1b",
"rgb": {
"r": 161,
"g": 139,
"b": 27
},
"hsl": {
"h": 50.149,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.63827,
"c": 0.12394,
"h": 97
},
"luminance": 0.26121
}Semantic roles & 50–950 ramp
primary
#A18B1B
secondary
#5265C5
accent
#57EE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A