#A1AA22#A1AA22
#A1AA22 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.8% C 0.149 H 113.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A1AA22 |
|---|---|
| RGB | rgb(161, 170, 34) |
| HSL | hsl(64, 67%, 40%) |
| HSV | hsv(64, 80%, 67%) |
| CMYK | cmyk(5.3%, 0%, 80%, 33.3%) |
| CIE-LAB | lab(66.86, -19.14, 62.73) |
| CIE-LCH | lch(66.86, 65.59, 106.97°) |
| OKLab | oklab(70.77% -0.0595 0.1364) |
| OKLCH | oklch(70.77% 0.149 113.6) |
| XYZ | xyz(29.3623, 36.4426, 7.0004) |
| Luminance | 0.3644 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.38
Puke Green
#9AAE07
ΔE00 2.60
Pea Soup Green
#94A617
ΔE00 2.67
Puke
#A5A502
ΔE00 3.01
Barf Green
#94AC02
ΔE00 3.28
Mustard Green
#A8B504
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1AA22 #2B22AA
analogous
#AA6F22 #A1AA22 #5DAA22
triadic
#A1AA22 #22A1AA #AA22A1
tetradic
#A1AA22 #22AA6F #2B22AA #AA225D
square
#A1AA22 #22AA6F #2B22AA #AA225D
split-complementary
#A1AA22 #225DAA #6F22AA
monochromatic
#40440E #717718 #A1AA22 #CBD633 #D8E066
Accessibility & contrast
On white
2.53
#A1AA22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.29
#A1AA22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1AA22
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1AA22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1AA22 | 1.00 | 2.53 | 8.29 | 8.29 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B7A42F
Tritanopia (blue-blind)
#AC9F91
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a1aa22; /* rgb */ color: rgb(161, 170, 34); /* oklch */ color: oklch(70.8% 0.149 113.6);
Tailwind
colors: {
custom: {
50: '#c1c36a',
500: '#a1aa22',
950: '#000000',
},
}SCSS
$custom: #a1aa22; $custom-light: #c1c36a; $custom-dark: #000000;
JSON
{
"hex": "#a1aa22",
"rgb": {
"r": 161,
"g": 170,
"b": 34
},
"hsl": {
"h": 63.971,
"s": 66.667,
"l": 40
},
"oklch": {
"l": 0.70773,
"c": 0.14881,
"h": 113.6
},
"luminance": 0.36442
}Semantic roles & 50–950 ramp
primary
#A1AA22
secondary
#6962C6
accent
#3EEA4A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A