#AAB42F#AAB42F
#AAB42F is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.9% C 0.150 H 113.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB42F |
|---|---|
| RGB | rgb(170, 180, 47) |
| HSL | hsl(65, 59%, 45%) |
| HSV | hsv(65, 74%, 71%) |
| CMYK | cmyk(5.6%, 0%, 73.9%, 29.4%) |
| CIE-LAB | lab(70.45, -19.75, 62.20) |
| CIE-LCH | lch(70.45, 65.26, 107.62°) |
| OKLab | oklab(73.85% -0.0606 0.1372) |
| OKLCH | oklch(73.85% 0.15 113.8) |
| XYZ | xyz(33.4129, 41.3945, 8.9186) |
| Luminance | 0.4139 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.29
Snot
#ACBB0D
ΔE00 2.94
Puke Green
#9AAE07
ΔE00 3.34
Sick Green
#9DB92C
ΔE00 3.89
Pea
#A4BF20
ΔE00 4.19
Booger
#9BB53C
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB42F #392FB4
analogous
#B47B2F #AAB42F #68B42F
triadic
#AAB42F #2FAAB4 #B42FAA
tetradic
#AAB42F #2FB47B #392FB4 #B42F68
square
#AAB42F #2FB47B #392FB4 #B42F68
split-complementary
#AAB42F #2F68B4 #7B2FB4
monochromatic
#4E5316 #7C8322 #AAB42F #C7D14F #D7DE80
Accessibility & contrast
On white
2.26
#AAB42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#AAB42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB42F
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB42F | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB13
Deuteranopia (green-blind)
#C1AE3A
Tritanopia (blue-blind)
#B5A99B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #aab42f; /* rgb */ color: rgb(170, 180, 47); /* oklch */ color: oklch(73.9% 0.150 113.8);
Tailwind
colors: {
custom: {
50: '#c7ca72',
500: '#aab42f',
950: '#000000',
},
}SCSS
$custom: #aab42f; $custom-light: #c7ca72; $custom-dark: #000000;
JSON
{
"hex": "#aab42f",
"rgb": {
"r": 170,
"g": 180,
"b": 47
},
"hsl": {
"h": 64.511,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.7385,
"c": 0.15004,
"h": 113.8
},
"luminance": 0.41394
}Semantic roles & 50–950 ramp
primary
#AAB42F
secondary
#7E78C7
accent
#46E252
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B