#AAB02A#AAB02A
#AAB02A is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.149 H 112.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB02A |
|---|---|
| RGB | rgb(170, 176, 42) |
| HSL | hsl(63, 61%, 43%) |
| HSV | hsv(63, 76%, 69%) |
| CMYK | cmyk(3.4%, 0%, 76.1%, 31%) |
| CIE-LAB | lab(69.30, -17.96, 62.78) |
| CIE-LCH | lch(69.30, 65.30, 105.97°) |
| OKLab | oklab(72.92% -0.0561 0.1376) |
| OKLCH | oklch(72.92% 0.149 112.2) |
| XYZ | xyz(32.5219, 39.7647, 8.1522) |
| Luminance | 0.3976 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.60
Puke Green
#9AAE07
ΔE00 3.46
Vomit
#A2A415
ΔE00 3.55
Puke
#A5A502
ΔE00 3.69
Snot
#ACBB0D
ΔE00 3.71
Barf Green
#94AC02
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB02A #302AB0
analogous
#B0732A #AAB02A #67B02A
triadic
#AAB02A #2AAAB0 #B02AAA
tetradic
#AAB02A #2AB073 #302AB0 #B02A67
square
#AAB02A #2AB073 #302AB0 #B02A67
split-complementary
#AAB02A #2A67B0 #732AB0
monochromatic
#4B4D12 #7A7F1E #AAB02A #CCD345 #DADE76
Accessibility & contrast
On white
2.35
#AAB02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#AAB02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB02A
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB02A | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA806
Deuteranopia (green-blind)
#BEAB36
Tritanopia (blue-blind)
#B6A597
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aab02a; /* rgb */ color: rgb(170, 176, 42); /* oklch */ color: oklch(72.9% 0.149 112.2);
Tailwind
colors: {
custom: {
50: '#c7c76f',
500: '#aab02a',
950: '#000000',
},
}SCSS
$custom: #aab02a; $custom-light: #c7c76f; $custom-dark: #000000;
JSON
{
"hex": "#aab02a",
"rgb": {
"r": 170,
"g": 176,
"b": 42
},
"hsl": {
"h": 62.687,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.7292,
"c": 0.14857,
"h": 112.2
},
"luminance": 0.39764
}Semantic roles & 50–950 ramp
primary
#AAB02A
secondary
#7470C6
accent
#43E54A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B