#AA9A27#AA9A27
#AA9A27 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.0% C 0.129 H 101.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AA9A27 |
|---|---|
| RGB | rgb(170, 154, 39) |
| HSL | hsl(53, 63%, 41%) |
| HSV | hsv(53, 77%, 67%) |
| CMYK | cmyk(0%, 9.4%, 77.1%, 33.3%) |
| CIE-LAB | lab(63.18, -6.64, 58.13) |
| CIE-LCH | lch(63.18, 58.50, 96.51°) |
| OKLab | oklab(68.04% -0.0247 0.1271) |
| OKLCH | oklch(68.04% 0.129 101) |
| XYZ | xyz(28.5007, 31.8051, 6.5568) |
| Luminance | 0.3180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.68
Baby Poo
#AB9004
ΔE00 4.37
Baby Shit Brown
#AD900D
ΔE00 4.68
Dark Gold
#B59410
ΔE00 5.18
Puke
#A5A502
ΔE00 5.50
Vomit
#A2A415
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA9A27 #2737AA
analogous
#AA5827 #AA9A27 #78AA27
triadic
#AA9A27 #27AA9A #9A27AA
tetradic
#AA9A27 #27AA58 #2737AA #AA2778
square
#AA9A27 #27AA58 #2737AA #AA2778
split-complementary
#AA9A27 #2778AA #5827AA
monochromatic
#464010 #786D1C #AA9A27 #D2C03C #DED06E
Accessibility & contrast
On white
2.85
#AA9A27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#AA9A27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA9A27
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA9A27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA9A27 | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9950E
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#B78E84
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #aa9a27; /* rgb */ color: rgb(170, 154, 39); /* oklch */ color: oklch(68.0% 0.129 101.0);
Tailwind
colors: {
custom: {
50: '#c7b76b',
500: '#aa9a27',
950: '#000000',
},
}SCSS
$custom: #aa9a27; $custom-light: #c7b76b; $custom-dark: #000000;
JSON
{
"hex": "#aa9a27",
"rgb": {
"r": 170,
"g": 154,
"b": 39
},
"hsl": {
"h": 52.672,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.68035,
"c": 0.12948,
"h": 101
},
"luminance": 0.31804
}Semantic roles & 50–950 ramp
primary
#AA9A27
secondary
#6974C4
accent
#56E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A