#AA9933#AA9933
#AA9933 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.9% C 0.121 H 99.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AA9933 |
|---|---|
| RGB | rgb(170, 153, 51) |
| HSL | hsl(51, 54%, 43%) |
| HSV | hsv(51, 70%, 67%) |
| CMYK | cmyk(0%, 10%, 70%, 33.3%) |
| CIE-LAB | lab(62.98, -5.53, 53.40) |
| CIE-LCH | lch(62.98, 53.69, 95.91°) |
| OKLab | oklab(67.9% -0.0203 0.1194) |
| OKLCH | oklch(67.9% 0.121 99.6) |
| XYZ | xyz(28.5676, 31.5689, 7.7200) |
| Luminance | 0.3157 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.26
Baby Poo
#AB9004
ΔE00 4.61
Baby Shit Brown
#AD900D
ΔE00 4.76
Dark Gold
#B59410
ΔE00 5.27
Yellow Brown
#B79400
ΔE00 6.00
Ocher
#BF9B0C
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA9933 #3344AA
analogous
#AA5E33 #AA9933 #7FAA33
triadic
#AA9933 #33AA99 #9933AA
tetradic
#AA9933 #33AA5E #3344AA #AA337F
square
#AA9933 #33AA5E #3344AA #AA337F
split-complementary
#AA9933 #337FAA #5E33AA
monochromatic
#4C4417 #7B6F25 #AA9933 #CAB950 #D9CC7F
Accessibility & contrast
On white
2.87
#AA9933 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#AA9933 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA9933
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA9933 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA9933 | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89524
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#B78E84
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #aa9933; /* rgb */ color: rgb(170, 153, 51); /* oklch */ color: oklch(67.9% 0.121 99.6);
Tailwind
colors: {
custom: {
50: '#c7b671',
500: '#aa9933',
950: '#000000',
},
}SCSS
$custom: #aa9933; $custom-light: #c7b671; $custom-dark: #000000;
JSON
{
"hex": "#aa9933",
"rgb": {
"r": 170,
"g": 153,
"b": 51
},
"hsl": {
"h": 51.429,
"s": 53.846,
"l": 43.333
},
"oklch": {
"l": 0.67903,
"c": 0.12109,
"h": 99.6
},
"luminance": 0.31568
}Semantic roles & 50–950 ramp
primary
#AA9933
secondary
#7782C2
accent
#60DD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B