#AAA52F#AAA52F
#AAA52F is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.135 H 106.9°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AAA52F |
|---|---|
| RGB | rgb(170, 165, 47) |
| HSL | hsl(58, 57%, 43%) |
| HSV | hsv(58, 72%, 67%) |
| CMYK | cmyk(0%, 2.9%, 72.4%, 33.3%) |
| CIE-LAB | lab(66.26, -12.09, 58.19) |
| CIE-LCH | lch(66.26, 59.43, 101.73°) |
| OKLab | oklab(70.5% -0.0392 0.1288) |
| OKLCH | oklch(70.5% 0.135 106.9) |
| XYZ | xyz(30.5470, 35.6626, 7.9633) |
| Luminance | 0.3566 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.49
Puke
#A5A502
ΔE00 2.77
Pea Soup
#929901
ΔE00 5.58
Pea Soup Green
#94A617
ΔE00 5.73
Muddy Yellow
#BFAC05
ΔE00 5.77
Baby Poop Green
#8F9805
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA52F #2F34AA
analogous
#AA682F #AAA52F #71AA2F
triadic
#AAA52F #2FAAA5 #A52FAA
tetradic
#AAA52F #2FAA68 #2F34AA #AA2F71
square
#AAA52F #2FAA68 #2F34AA #AA2F71
split-complementary
#AAA52F #2F71AA #682FAA
monochromatic
#4A4814 #7A7622 #AAA52F #CDC749 #DAD679
Accessibility & contrast
On white
2.58
#AAA52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#AAA52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA52F
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA52F | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F1A
Deuteranopia (green-blind)
#B6A338
Tritanopia (blue-blind)
#B79A8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #aaa52f; /* rgb */ color: rgb(170, 165, 47); /* oklch */ color: oklch(70.5% 0.135 106.9);
Tailwind
colors: {
custom: {
50: '#c7bf70',
500: '#aaa52f',
950: '#000000',
},
}SCSS
$custom: #aaa52f; $custom-light: #c7bf70; $custom-dark: #000000;
JSON
{
"hex": "#aaa52f",
"rgb": {
"r": 170,
"g": 165,
"b": 47
},
"hsl": {
"h": 57.561,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.705,
"c": 0.13462,
"h": 106.9
},
"luminance": 0.35662
}Semantic roles & 50–950 ramp
primary
#AAA52F
secondary
#7276C2
accent
#4EE048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B