#AAB12A#AAB12A
#AAB12A is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.150 H 112.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB12A |
|---|---|
| RGB | rgb(170, 177, 42) |
| HSL | hsl(63, 62%, 43%) |
| HSV | hsv(63, 76%, 69%) |
| CMYK | cmyk(4%, 0%, 76.3%, 30.6%) |
| CIE-LAB | lab(69.58, -18.47, 63.03) |
| CIE-LCH | lch(69.58, 65.68, 106.33°) |
| OKLab | oklab(73.15% -0.0575 0.1381) |
| OKLCH | oklch(73.15% 0.15 112.6) |
| XYZ | xyz(32.7187, 40.1583, 8.2178) |
| Luminance | 0.4016 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.37
Puke Green
#9AAE07
ΔE00 3.35
Snot
#ACBB0D
ΔE00 3.43
Vomit
#A2A415
ΔE00 3.83
Puke
#A5A502
ΔE00 3.97
Barf Green
#94AC02
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB12A #312AB1
analogous
#B1742A #AAB12A #66B12A
triadic
#AAB12A #2AAAB1 #B12AAA
tetradic
#AAB12A #2AB174 #312AB1 #B12A66
square
#AAB12A #2AB174 #312AB1 #B12A66
split-complementary
#AAB12A #2A66B1 #742AB1
monochromatic
#4B4E13 #7A801E #AAB12A #CCD345 #D9DF77
Accessibility & contrast
On white
2.33
#AAB12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#AAB12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB12A
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB12A | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA805
Deuteranopia (green-blind)
#BFAB36
Tritanopia (blue-blind)
#B6A698
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #aab12a; /* rgb */ color: rgb(170, 177, 42); /* oklch */ color: oklch(73.1% 0.150 112.6);
Tailwind
colors: {
custom: {
50: '#c7c86f',
500: '#aab12a',
950: '#000000',
},
}SCSS
$custom: #aab12a; $custom-light: #c7c86f; $custom-dark: #000000;
JSON
{
"hex": "#aab12a",
"rgb": {
"r": 170,
"g": 177,
"b": 42
},
"hsl": {
"h": 63.111,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.73145,
"c": 0.14962,
"h": 112.6
},
"luminance": 0.40157
}Semantic roles & 50–950 ramp
primary
#AAB12A
secondary
#7570C6
accent
#43E54B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B