#AAB22A#AAB22A
#AAB22A is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.151 H 113.0°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB22A |
|---|---|
| RGB | rgb(170, 178, 42) |
| HSL | hsl(64, 62%, 43%) |
| HSV | hsv(64, 76%, 70%) |
| CMYK | cmyk(4.5%, 0%, 76.4%, 30.2%) |
| CIE-LAB | lab(69.86, -18.97, 63.29) |
| CIE-LCH | lch(69.86, 66.08, 106.69°) |
| OKLab | oklab(73.37% -0.0589 0.1387) |
| OKLCH | oklch(73.37% 0.151 113) |
| XYZ | xyz(32.9169, 40.5547, 8.2839) |
| Luminance | 0.4055 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.17
Snot
#ACBB0D
ΔE00 3.15
Puke Green
#9AAE07
ΔE00 3.27
Vomit
#A2A415
ΔE00 4.12
Puke
#A5A502
ΔE00 4.25
Barf Green
#94AC02
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB22A #322AB2
analogous
#B2762A #AAB22A #66B22A
triadic
#AAB22A #2AAAB2 #B22AAA
tetradic
#AAB22A #2AB276 #322AB2 #B22A66
square
#AAB22A #2AB276 #322AB2 #B22A66
split-complementary
#AAB22A #2A66B2 #762AB2
monochromatic
#4B4F13 #7B801E #AAB22A #CBD346 #D9DF77
Accessibility & contrast
On white
2.30
#AAB22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#AAB22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB22A
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB22A | 1.00 | 2.30 | 9.11 | 9.11 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A905
Deuteranopia (green-blind)
#C0AC36
Tritanopia (blue-blind)
#B6A799
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #aab22a; /* rgb */ color: rgb(170, 178, 42); /* oklch */ color: oklch(73.4% 0.151 113.0);
Tailwind
colors: {
custom: {
50: '#c7c86f',
500: '#aab22a',
950: '#000000',
},
}SCSS
$custom: #aab22a; $custom-light: #c7c86f; $custom-dark: #000000;
JSON
{
"hex": "#aab22a",
"rgb": {
"r": 170,
"g": 178,
"b": 42
},
"hsl": {
"h": 63.529,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.7337,
"c": 0.15066,
"h": 113
},
"luminance": 0.40554
}Semantic roles & 50–950 ramp
primary
#AAB22A
secondary
#7671C7
accent
#43E54C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B