#AA9C2B#AA9C2B
#AA9C2B is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.5% C 0.129 H 102.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AA9C2B |
|---|---|
| RGB | rgb(170, 156, 43) |
| HSL | hsl(53, 60%, 42%) |
| HSV | hsv(53, 75%, 67%) |
| CMYK | cmyk(0%, 8.2%, 74.7%, 33.3%) |
| CIE-LAB | lab(63.75, -7.53, 57.25) |
| CIE-LCH | lch(63.75, 57.74, 97.49°) |
| OKLab | oklab(68.5% -0.0268 0.126) |
| OKLCH | oklch(68.5% 0.129 102) |
| XYZ | xyz(28.9034, 32.4987, 7.0354) |
| Luminance | 0.3250 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.37
Vomit
#A2A415
ΔE00 4.90
Puke
#A5A502
ΔE00 4.95
Baby Poo
#AB9004
ΔE00 5.18
Baby Shit Brown
#AD900D
ΔE00 5.48
Dark Gold
#B59410
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA9C2B #2B39AA
analogous
#AA5D2B #AA9C2B #79AA2B
triadic
#AA9C2B #2BAA9C #9C2BAA
tetradic
#AA9C2B #2BAA5D #2B39AA #AA2B79
square
#AA9C2B #2BAA5D #2B39AA #AA2B79
split-complementary
#AA9C2B #2B79AA #5D2BAA
monochromatic
#484212 #796F1F #AA9C2B #CFC043 #DCD074
Accessibility & contrast
On white
2.80
#AA9C2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.50
#AA9C2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA9C2B
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA9C2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA9C2B | 1.00 | 2.80 | 7.50 | 7.50 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9716
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#B79186
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #aa9c2b; /* rgb */ color: rgb(170, 156, 43); /* oklch */ color: oklch(68.5% 0.129 102.0);
Tailwind
colors: {
custom: {
50: '#c7b86d',
500: '#aa9c2b',
950: '#000000',
},
}SCSS
$custom: #aa9c2b; $custom-light: #c7b86d; $custom-dark: #000000;
JSON
{
"hex": "#aa9c2b",
"rgb": {
"r": 170,
"g": 156,
"b": 43
},
"hsl": {
"h": 53.386,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.68496,
"c": 0.12884,
"h": 102
},
"luminance": 0.32497
}Semantic roles & 50–950 ramp
primary
#AA9C2B
secondary
#6E77C3
accent
#56E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A