#AA8A27#AA8A27
#AA8A27 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.6% C 0.118 H 90.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AA8A27 |
|---|---|
| RGB | rgb(170, 138, 39) |
| HSL | hsl(45, 63%, 41%) |
| HSV | hsv(45, 77%, 67%) |
| CMYK | cmyk(0%, 18.8%, 77.1%, 33.3%) |
| CIE-LAB | lab(58.85, 2.06, 54.09) |
| CIE-LCH | lch(58.85, 54.13, 87.81°) |
| OKLab | oklab(64.61% 0 0.1185) |
| OKLCH | oklch(64.61% 0.119 90) |
| XYZ | xyz(26.0338, 26.8712, 5.7345) |
| Luminance | 0.2687 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 2.31
Dark Mustard
#A88905
ΔE00 2.48
Baby Shit Brown
#AD900D
ΔE00 3.42
Diarrhea
#9F8303
ΔE00 3.66
Baby Poo
#AB9004
ΔE00 3.91
Dark Gold
#B59410
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA8A27 #2747AA
analogous
#AA4927 #AA8A27 #88AA27
triadic
#AA8A27 #27AA8A #8A27AA
tetradic
#AA8A27 #27AA49 #2747AA #AA2788
square
#AA8A27 #27AA49 #2747AA #AA2788
split-complementary
#AA8A27 #2788AA #4927AA
monochromatic
#463910 #78621C #AA8A27 #D2AE3C #DEC26E
Accessibility & contrast
On white
3.29
#AA8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#AA8A27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA8A27
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA8A27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA8A27 | 1.00 | 3.29 | 6.37 | 6.37 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8815
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#B87E77
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #aa8a27; /* rgb */ color: rgb(170, 138, 39); /* oklch */ color: oklch(64.6% 0.118 90.0);
Tailwind
colors: {
custom: {
50: '#c7ab69',
500: '#aa8a27',
950: '#000000',
},
}SCSS
$custom: #aa8a27; $custom-light: #c7ab69; $custom-dark: #000000;
JSON
{
"hex": "#aa8a27",
"rgb": {
"r": 170,
"g": 138,
"b": 39
},
"hsl": {
"h": 45.344,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.64612,
"c": 0.1185,
"h": 90
},
"luminance": 0.26869
}Semantic roles & 50–950 ramp
primary
#AA8A27
secondary
#697FC4
accent
#6AE642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A