#AAB52A#AAB52A
#AAB52A is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.0% C 0.154 H 114.2°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB52A |
|---|---|
| RGB | rgb(170, 181, 42) |
| HSL | hsl(65, 62%, 44%) |
| HSV | hsv(65, 77%, 71%) |
| CMYK | cmyk(6.1%, 0%, 76.8%, 29%) |
| CIE-LAB | lab(70.71, -20.47, 64.07) |
| CIE-LCH | lch(70.71, 67.26, 107.72°) |
| OKLab | oklab(74.05% -0.0631 0.1403) |
| OKLCH | oklch(74.05% 0.154 114.2) |
| XYZ | xyz(33.5204, 41.7616, 8.4850) |
| Luminance | 0.4176 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.82
Snot
#ACBB0D
ΔE00 2.41
Puke Green
#9AAE07
ΔE00 3.23
Sick Green
#9DB92C
ΔE00 3.75
Pea
#A4BF20
ΔE00 3.82
Booger Green
#96B403
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB52A #352AB5
analogous
#B57A2A #AAB52A #64B52A
triadic
#AAB52A #2AAAB5 #B52AAA
tetradic
#AAB52A #2AB57A #352AB5 #B52A64
square
#AAB52A #2AB57A #352AB5 #B52A64
split-complementary
#AAB52A #2A64B5 #7A2AB5
monochromatic
#4D5213 #7B831E #AAB52A #C9D448 #D8E079
Accessibility & contrast
On white
2.25
#AAB52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#AAB52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB52A
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB52A | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC02
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#B6AA9B
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #aab52a; /* rgb */ color: rgb(170, 181, 42); /* oklch */ color: oklch(74.0% 0.154 114.2);
Tailwind
colors: {
custom: {
50: '#c7cb6f',
500: '#aab52a',
950: '#000000',
},
}SCSS
$custom: #aab52a; $custom-light: #c7cb6f; $custom-dark: #000000;
JSON
{
"hex": "#aab52a",
"rgb": {
"r": 170,
"g": 181,
"b": 42
},
"hsl": {
"h": 64.748,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.74046,
"c": 0.15384,
"h": 114.2
},
"luminance": 0.41761
}Semantic roles & 50–950 ramp
primary
#AAB52A
secondary
#7A73C8
accent
#42E54F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B