#AAB142#AAB142
#AAB142 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.3% C 0.134 H 112.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB142 |
|---|---|
| RGB | rgb(170, 177, 66) |
| HSL | hsl(64, 46%, 48%) |
| HSV | hsv(64, 63%, 69%) |
| CMYK | cmyk(4%, 0%, 62.7%, 30.6%) |
| CIE-LAB | lab(69.74, -17.15, 54.14) |
| CIE-LCH | lch(69.74, 56.79, 107.58°) |
| OKLab | oklab(73.32% -0.0515 0.1233) |
| OKLCH | oklch(73.32% 0.134 112.7) |
| XYZ | xyz(33.2839, 40.3844, 11.1948) |
| Luminance | 0.4038 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.27
Mustard Green
#A8B504
ΔE00 4.57
Puke Green
#9AAE07
ΔE00 4.68
Sick Green
#9DB92C
ΔE00 4.93
Vomit
#A2A415
ΔE00 4.98
Pea Soup Green
#94A617
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB142 #4942B1
analogous
#B18142 #AAB142 #72B142
triadic
#AAB142 #42AAB1 #B142AA
tetradic
#AAB142 #42B181 #4942B1 #B14272
square
#AAB142 #42B181 #4942B1 #B14272
split-complementary
#AAB142 #4272B1 #8142B1
monochromatic
#545821 #7F8431 #AAB142 #C1C769 #D4D896
Accessibility & contrast
On white
2.31
#AAB142 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#AAB142 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB142
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB142 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB142 | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA934
Deuteranopia (green-blind)
#BEAC49
Tritanopia (blue-blind)
#B5A79A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #aab142; /* rgb */ color: rgb(170, 177, 66); /* oklch */ color: oklch(73.3% 0.134 112.7);
Tailwind
colors: {
custom: {
50: '#c6c87c',
500: '#aab142',
950: '#000000',
},
}SCSS
$custom: #aab142; $custom-light: #c6c87c; $custom-dark: #000000;
JSON
{
"hex": "#aab142",
"rgb": {
"r": 170,
"g": 177,
"b": 66
},
"hsl": {
"h": 63.784,
"s": 45.679,
"l": 47.647
},
"oklch": {
"l": 0.73324,
"c": 0.13365,
"h": 112.7
},
"luminance": 0.40384
}Semantic roles & 50–950 ramp
primary
#AAB142
secondary
#8F8BC3
accent
#52D55B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C