#AABA2A#AABA2A
#AABA2A is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.2% C 0.159 H 116.0°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AABA2A |
|---|---|
| RGB | rgb(170, 186, 42) |
| HSL | hsl(67, 63%, 45%) |
| HSV | hsv(67, 77%, 73%) |
| CMYK | cmyk(8.6%, 0%, 77.4%, 27.1%) |
| CIE-LAB | lab(72.12, -22.95, 65.35) |
| CIE-LCH | lch(72.12, 69.27, 109.35°) |
| OKLab | oklab(75.18% -0.0699 0.1431) |
| OKLCH | oklch(75.18% 0.159 116) |
| XYZ | xyz(34.5553, 43.8316, 8.8300) |
| Luminance | 0.4383 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.77
Mustard Green
#A8B504
ΔE00 2.25
Pea
#A4BF20
ΔE00 2.35
Sick Green
#9DB92C
ΔE00 2.86
Gross Green
#A0BF16
ΔE00 3.02
Bright Olive
#9CBB04
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AABA2A #3A2ABA
analogous
#BA822A #AABA2A #62BA2A
triadic
#AABA2A #2AAABA #BA2AAA
tetradic
#AABA2A #2ABA82 #3A2ABA #BA2A62
square
#AABA2A #2ABA82 #3A2ABA #BA2A62
split-complementary
#AABA2A #2A62BA #822ABA
monochromatic
#4F5613 #7C881F #AABA2A #C7D64B #D6E27D
Accessibility & contrast
On white
2.15
#AABA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#AABA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AABA2A
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AABA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AABA2A | 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)
#C7B000
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#B5AF9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #aaba2a; /* rgb */ color: rgb(170, 186, 42); /* oklch */ color: oklch(75.2% 0.159 116.0);
Tailwind
colors: {
custom: {
50: '#c7ce70',
500: '#aaba2a',
950: '#000000',
},
}SCSS
$custom: #aaba2a; $custom-light: #c7ce70; $custom-dark: #000000;
JSON
{
"hex": "#aaba2a",
"rgb": {
"r": 170,
"g": 186,
"b": 42
},
"hsl": {
"h": 66.667,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.75177,
"c": 0.15922,
"h": 116
},
"luminance": 0.43831
}Semantic roles & 50–950 ramp
primary
#AABA2A
secondary
#7F76CA
accent
#42E654
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B