#AA8A2A#AA8A2A
#AA8A2A is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.6% C 0.117 H 89.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AA8A2A |
|---|---|
| RGB | rgb(170, 138, 42) |
| HSL | hsl(45, 60%, 42%) |
| HSV | hsv(45, 75%, 67%) |
| CMYK | cmyk(0%, 18.8%, 75.3%, 33.3%) |
| CIE-LAB | lab(58.87, 2.20, 52.96) |
| CIE-LCH | lch(58.87, 53.00, 87.62°) |
| OKLab | oklab(64.63% 0.0007 0.1167) |
| OKLCH | oklch(64.63% 0.117 89.6) |
| XYZ | xyz(26.0855, 26.8918, 6.0067) |
| Luminance | 0.2689 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 2.63
Dark Mustard
#A88905
ΔE00 2.83
Baby Shit Brown
#AD900D
ΔE00 3.71
Diarrhea
#9F8303
ΔE00 3.89
Baby Poo
#AB9004
ΔE00 4.21
Dark Gold
#B59410
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA8A2A #2A4AAA
analogous
#AA4A2A #AA8A2A #8AAA2A
triadic
#AA8A2A #2AAA8A #8A2AAA
tetradic
#AA8A2A #2AAA4A #2A4AAA #AA2A8A
square
#AA8A2A #2AAA4A #2A4AAA #AA2A8A
split-complementary
#AA8A2A #2A8AAA #4A2AAA
monochromatic
#483A12 #79621E #AA8A2A #D0AC41 #DCC272
Accessibility & contrast
On white
3.29
#AA8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#AA8A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA8A2A
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA8A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA8A2A | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A881A
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#B87E77
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #aa8a2a; /* rgb */ color: rgb(170, 138, 42); /* oklch */ color: oklch(64.6% 0.117 89.6);
Tailwind
colors: {
custom: {
50: '#c7ab6a',
500: '#aa8a2a',
950: '#000000',
},
}SCSS
$custom: #aa8a2a; $custom-light: #c7ab6a; $custom-dark: #000000;
JSON
{
"hex": "#aa8a2a",
"rgb": {
"r": 170,
"g": 138,
"b": 42
},
"hsl": {
"h": 45,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.64633,
"c": 0.11671,
"h": 89.6
},
"luminance": 0.2689
}Semantic roles & 50–950 ramp
primary
#AA8A2A
secondary
#6C82C3
accent
#6CE444
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A