#AAB72A#AAB72A
#AAB72A is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.5% C 0.156 H 115.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB72A |
|---|---|
| RGB | rgb(170, 183, 42) |
| HSL | hsl(66, 63%, 44%) |
| HSV | hsv(66, 77%, 72%) |
| CMYK | cmyk(7.1%, 0%, 77%, 28.2%) |
| CIE-LAB | lab(71.27, -21.47, 64.58) |
| CIE-LCH | lch(71.27, 68.06, 108.39°) |
| OKLab | oklab(74.5% -0.0658 0.1414) |
| OKLCH | oklch(74.5% 0.156 115) |
| XYZ | xyz(33.9300, 42.5808, 8.6216) |
| Luminance | 0.4258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.85
Snot
#ACBB0D
ΔE00 2.03
Pea
#A4BF20
ΔE00 3.21
Sick Green
#9DB92C
ΔE00 3.32
Puke Green
#9AAE07
ΔE00 3.37
Bright Olive
#9CBB04
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB72A #372AB7
analogous
#B77E2A #AAB72A #64B72A
triadic
#AAB72A #2AAAB7 #B72AAA
tetradic
#AAB72A #2AB77E #372AB7 #B72A64
square
#AAB72A #2AB77E #372AB7 #B72A64
split-complementary
#AAB72A #2A64B7 #7E2AB7
monochromatic
#4E5313 #7C851F #AAB72A #C8D549 #D7E17B
Accessibility & contrast
On white
2.21
#AAB72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#AAB72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB72A
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB72A | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE00
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#B5AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #aab72a; /* rgb */ color: rgb(170, 183, 42); /* oklch */ color: oklch(74.5% 0.156 115.0);
Tailwind
colors: {
custom: {
50: '#c7cc70',
500: '#aab72a',
950: '#000000',
},
}SCSS
$custom: #aab72a; $custom-light: #c7cc70; $custom-dark: #000000;
JSON
{
"hex": "#aab72a",
"rgb": {
"r": 170,
"g": 183,
"b": 42
},
"hsl": {
"h": 65.532,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.74498,
"c": 0.15598,
"h": 115
},
"luminance": 0.4258
}Semantic roles & 50–950 ramp
primary
#AAB72A
secondary
#7C74C9
accent
#42E651
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B