#AA9A2E#AA9A2E
#AA9A2E is a light, vivid yellow. Relative luminance 0.319; OKLCH L 68.1% C 0.125 H 100.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AA9A2E |
|---|---|
| RGB | rgb(170, 154, 46) |
| HSL | hsl(52, 57%, 42%) |
| HSV | hsv(52, 73%, 67%) |
| CMYK | cmyk(0%, 9.4%, 72.9%, 33.3%) |
| CIE-LAB | lab(63.22, -6.32, 55.62) |
| CIE-LCH | lch(63.22, 55.98, 96.48°) |
| OKLab | oklab(68.08% -0.0231 0.1232) |
| OKLCH | oklch(68.08% 0.125 100.6) |
| XYZ | xyz(28.6276, 31.8558, 7.2251) |
| Luminance | 0.3185 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.06
Baby Poo
#AB9004
ΔE00 4.63
Baby Shit Brown
#AD900D
ΔE00 4.86
Dark Gold
#B59410
ΔE00 5.35
Vomit
#A2A415
ΔE00 5.77
Puke
#A5A502
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA9A2E #2E3EAA
analogous
#AA5C2E #AA9A2E #7CAA2E
triadic
#AA9A2E #2EAA9A #9A2EAA
tetradic
#AA9A2E #2EAA5C #2E3EAA #AA2E7C
square
#AA9A2E #2EAA5C #2E3EAA #AA2E7C
split-complementary
#AA9A2E #2E7CAA #5C2EAA
monochromatic
#4A4314 #7A6E21 #AA9A2E #CDBC48 #DACE78
Accessibility & contrast
On white
2.85
#AA9A2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#AA9A2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA9A2E
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA9A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA9A2E | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9961C
Deuteranopia (green-blind)
#AD9C35
Tritanopia (blue-blind)
#B78F85
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #aa9a2e; /* rgb */ color: rgb(170, 154, 46); /* oklch */ color: oklch(68.1% 0.125 100.6);
Tailwind
colors: {
custom: {
50: '#c7b76e',
500: '#aa9a2e',
950: '#000000',
},
}SCSS
$custom: #aa9a2e; $custom-light: #c7b76e; $custom-dark: #000000;
JSON
{
"hex": "#aa9a2e",
"rgb": {
"r": 170,
"g": 154,
"b": 46
},
"hsl": {
"h": 52.258,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.68082,
"c": 0.1253,
"h": 100.6
},
"luminance": 0.31855
}Semantic roles & 50–950 ramp
primary
#AA9A2E
secondary
#717CC3
accent
#5BE147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B