#AAB242#AAB242
#AAB242 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.135 H 113.1°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB242 |
|---|---|
| RGB | rgb(170, 178, 66) |
| HSL | hsl(64, 46%, 48%) |
| HSV | hsv(64, 63%, 70%) |
| CMYK | cmyk(4.5%, 0%, 62.9%, 30.2%) |
| CIE-LAB | lab(70.02, -17.66, 54.44) |
| CIE-LCH | lch(70.02, 57.23, 107.97°) |
| OKLab | oklab(73.55% -0.0529 0.124) |
| OKLCH | oklch(73.55% 0.135 113.1) |
| XYZ | xyz(33.4822, 40.7809, 11.2609) |
| Luminance | 0.4078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.03
Mustard Green
#A8B504
ΔE00 4.44
Puke Green
#9AAE07
ΔE00 4.59
Sick Green
#9DB92C
ΔE00 4.65
Snot
#ACBB0D
ΔE00 4.99
Pea Soup Green
#94A617
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB242 #4A42B2
analogous
#B28242 #AAB242 #72B242
triadic
#AAB242 #42AAB2 #B242AA
tetradic
#AAB242 #42B282 #4A42B2 #B24272
square
#AAB242 #42B282 #4A42B2 #B24272
split-complementary
#AAB242 #4272B2 #8242B2
monochromatic
#555921 #7F8531 #AAB242 #C1C86A #D3D896
Accessibility & contrast
On white
2.29
#AAB242 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#AAB242 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB242
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB242 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB242 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#BFAC49
Tritanopia (blue-blind)
#B5A89B
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #aab242; /* rgb */ color: rgb(170, 178, 66); /* oklch */ color: oklch(73.5% 0.135 113.1);
Tailwind
colors: {
custom: {
50: '#c6c87c',
500: '#aab242',
950: '#000000',
},
}SCSS
$custom: #aab242; $custom-light: #c6c87c; $custom-dark: #000000;
JSON
{
"hex": "#aab242",
"rgb": {
"r": 170,
"g": 178,
"b": 66
},
"hsl": {
"h": 64.286,
"s": 45.902,
"l": 47.843
},
"oklch": {
"l": 0.73548,
"c": 0.13479,
"h": 113.1
},
"luminance": 0.4078
}Semantic roles & 50–950 ramp
primary
#AAB242
secondary
#908CC4
accent
#52D65C
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C