#AABA2B#AABA2B
#AABA2B is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.2% C 0.159 H 116.1°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AABA2B |
|---|---|
| RGB | rgb(170, 186, 43) |
| HSL | hsl(67, 62%, 45%) |
| HSV | hsv(67, 77%, 73%) |
| CMYK | cmyk(8.6%, 0%, 76.9%, 27.1%) |
| CIE-LAB | lab(72.12, -22.91, 65.05) |
| CIE-LCH | lch(72.12, 68.97, 109.40°) |
| OKLab | oklab(75.18% -0.0697 0.1426) |
| OKLCH | oklch(75.18% 0.159 116.1) |
| XYZ | xyz(34.5735, 43.8388, 8.9255) |
| Luminance | 0.4384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.85
Mustard Green
#A8B504
ΔE00 2.31
Pea
#A4BF20
ΔE00 2.36
Sick Green
#9DB92C
ΔE00 2.83
Gross Green
#A0BF16
ΔE00 3.04
Bright Olive
#9CBB04
ΔE00 3.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AABA2B #3B2BBA
analogous
#BA822B #AABA2B #63BA2B
triadic
#AABA2B #2BAABA #BA2BAA
tetradic
#AABA2B #2BBA82 #3B2BBA #BA2B63
square
#AABA2B #2BBA82 #3B2BBA #BA2B63
split-complementary
#AABA2B #2B63BA #822BBA
monochromatic
#4F5714 #7D8820 #AABA2B #C6D64C #D6E17E
Accessibility & contrast
On white
2.15
#AABA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#AABA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AABA2B
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AABA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AABA2B | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B001
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#B5AF9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #aaba2b; /* rgb */ color: rgb(170, 186, 43); /* oklch */ color: oklch(75.2% 0.159 116.1);
Tailwind
colors: {
custom: {
50: '#c7ce70',
500: '#aaba2b',
950: '#000000',
},
}SCSS
$custom: #aaba2b; $custom-light: #c7ce70; $custom-dark: #000000;
JSON
{
"hex": "#aaba2b",
"rgb": {
"r": 170,
"g": 186,
"b": 43
},
"hsl": {
"h": 66.713,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.75183,
"c": 0.15872,
"h": 116.1
},
"luminance": 0.43838
}Semantic roles & 50–950 ramp
primary
#AABA2B
secondary
#8077CA
accent
#42E655
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B