#A18E2B#A18E2B
#A18E2B is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.6% C 0.117 H 98.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A18E2B |
|---|---|
| RGB | rgb(161, 142, 43) |
| HSL | hsl(50, 58%, 40%) |
| HSV | hsv(50, 73%, 63%) |
| CMYK | cmyk(0%, 11.8%, 73.3%, 36.9%) |
| CIE-LAB | lab(59.07, -4.02, 52.44) |
| CIE-LCH | lch(59.07, 52.60, 94.38°) |
| OKLab | oklab(64.58% -0.0164 0.1162) |
| OKLCH | oklch(64.58% 0.117 98) |
| XYZ | xyz(24.8082, 27.0987, 6.2089) |
| Luminance | 0.2710 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.89
Baby Shit Brown
#AD900D
ΔE00 4.05
Dark Mustard
#A88905
ΔE00 4.34
Diarrhea
#9F8303
ΔE00 4.68
Yellowy Brown
#AE8B0C
ΔE00 5.16
Brown Yellow
#B29705
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18E2B #2B3EA1
analogous
#A1532B #A18E2B #79A12B
triadic
#A18E2B #2BA18E #8E2BA1
tetradic
#A18E2B #2BA153 #2B3EA1 #A12B79
square
#A18E2B #2BA153 #2B3EA1 #A12B79
split-complementary
#A18E2B #2B79A1 #532BA1
monochromatic
#403911 #71631E #A18E2B #CBB53E #D8C76E
Accessibility & contrast
On white
3.27
#A18E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#A18E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18E2B
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18E2B | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A1B
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#AE837A
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a18e2b; /* rgb */ color: rgb(161, 142, 43); /* oklch */ color: oklch(64.6% 0.117 98.0);
Tailwind
colors: {
custom: {
50: '#c0ae6b',
500: '#a18e2b',
950: '#000000',
},
}SCSS
$custom: #a18e2b; $custom-light: #c0ae6b; $custom-dark: #000000;
JSON
{
"hex": "#a18e2b",
"rgb": {
"r": 161,
"g": 142,
"b": 43
},
"hsl": {
"h": 50.339,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.64577,
"c": 0.11734,
"h": 98
},
"luminance": 0.27097
}Semantic roles & 50–950 ramp
primary
#A18E2B
secondary
#6977BF
accent
#60E147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A