#AAB342#AAB342
#AAB342 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.8% C 0.136 H 113.6°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB342 |
|---|---|
| RGB | rgb(170, 179, 66) |
| HSL | hsl(65, 46%, 48%) |
| HSV | hsv(65, 63%, 70%) |
| CMYK | cmyk(5%, 0%, 63.1%, 29.8%) |
| CIE-LAB | lab(70.30, -18.17, 54.73) |
| CIE-LCH | lch(70.30, 57.67, 108.36°) |
| OKLab | oklab(73.77% -0.0544 0.1246) |
| OKLCH | oklch(73.77% 0.136 113.6) |
| XYZ | xyz(33.6819, 41.1802, 11.3275) |
| Luminance | 0.4118 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.80
Mustard Green
#A8B504
ΔE00 4.34
Sick Green
#9DB92C
ΔE00 4.37
Puke Green
#9AAE07
ΔE00 4.54
Snot
#ACBB0D
ΔE00 4.80
Sickly Green
#94B21C
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB342 #4B42B3
analogous
#B38342 #AAB342 #71B342
triadic
#AAB342 #42AAB3 #B342AA
tetradic
#AAB342 #42B383 #4B42B3 #B34271
square
#AAB342 #42B383 #4B42B3 #B34271
split-complementary
#AAB342 #4271B3 #8342B3
monochromatic
#555A21 #808632 #AAB342 #C1C86A #D3D997
Accessibility & contrast
On white
2.27
#AAB342 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#AAB342 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB342
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB342 | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#BFAD49
Tritanopia (blue-blind)
#B5A99C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #aab342; /* rgb */ color: rgb(170, 179, 66); /* oklch */ color: oklch(73.8% 0.136 113.6);
Tailwind
colors: {
custom: {
50: '#c6c97c',
500: '#aab342',
950: '#000000',
},
}SCSS
$custom: #aab342; $custom-light: #c6c97c; $custom-dark: #000000;
JSON
{
"hex": "#aab342",
"rgb": {
"r": 170,
"g": 179,
"b": 66
},
"hsl": {
"h": 64.779,
"s": 46.122,
"l": 48.039
},
"oklch": {
"l": 0.73772,
"c": 0.13593,
"h": 113.6
},
"luminance": 0.4118
}Semantic roles & 50–950 ramp
primary
#AAB342
secondary
#918CC4
accent
#52D65D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C