#AA8B2A#AA8B2A
#AA8B2A is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.8% C 0.117 H 90.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AA8B2A |
|---|---|
| RGB | rgb(170, 139, 42) |
| HSL | hsl(45, 60%, 42%) |
| HSV | hsv(45, 75%, 67%) |
| CMYK | cmyk(0%, 18.2%, 75.3%, 33.3%) |
| CIE-LAB | lab(59.14, 1.65, 53.21) |
| CIE-LCH | lch(59.14, 53.24, 88.23°) |
| OKLab | oklab(64.84% -0.0008 0.1173) |
| OKLCH | oklch(64.84% 0.117 90.4) |
| XYZ | xyz(26.2296, 27.1801, 6.0548) |
| Luminance | 0.2718 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 2.56
Dark Mustard
#A88905
ΔE00 2.70
Baby Shit Brown
#AD900D
ΔE00 3.37
Baby Poo
#AB9004
ΔE00 3.85
Diarrhea
#9F8303
ΔE00 3.90
Dark Gold
#B59410
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA8B2A #2A49AA
analogous
#AA4B2A #AA8B2A #89AA2A
triadic
#AA8B2A #2AAA8B #8B2AAA
tetradic
#AA8B2A #2AAA4B #2A49AA #AA2A89
square
#AA8B2A #2AAA4B #2A49AA #AA2A89
split-complementary
#AA8B2A #2A89AA #4B2AAA
monochromatic
#483B12 #79631E #AA8B2A #D0AD41 #DCC372
Accessibility & contrast
On white
3.26
#AA8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#AA8B2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA8B2A
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA8B2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA8B2A | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B891A
Deuteranopia (green-blind)
#A3922F
Tritanopia (blue-blind)
#B87F78
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #aa8b2a; /* rgb */ color: rgb(170, 139, 42); /* oklch */ color: oklch(64.8% 0.117 90.4);
Tailwind
colors: {
custom: {
50: '#c7ac6b',
500: '#aa8b2a',
950: '#000000',
},
}SCSS
$custom: #aa8b2a; $custom-light: #c7ac6b; $custom-dark: #000000;
JSON
{
"hex": "#aa8b2a",
"rgb": {
"r": 170,
"g": 139,
"b": 42
},
"hsl": {
"h": 45.469,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.64843,
"c": 0.11725,
"h": 90.4
},
"luminance": 0.27178
}Semantic roles & 50–950 ramp
primary
#AA8B2A
secondary
#6C81C3
accent
#6BE444
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A