#A2AB42#A2AB42
#A2AB42 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.3% C 0.129 H 113.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AB42 |
|---|---|
| RGB | rgb(162, 171, 66) |
| HSL | hsl(65, 44%, 46%) |
| HSV | hsv(65, 61%, 67%) |
| CMYK | cmyk(5.3%, 0%, 61.4%, 32.9%) |
| CIE-LAB | lab(67.43, -17.49, 51.46) |
| CIE-LCH | lch(67.43, 54.35, 108.77°) |
| OKLab | oklab(71.32% -0.052 0.1179) |
| OKLCH | oklch(71.32% 0.129 113.8) |
| XYZ | xyz(30.4473, 37.2011, 10.7298) |
| Luminance | 0.3720 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 4.21
Booger
#9BB53C
ΔE00 4.30
Vomit
#A2A415
ΔE00 4.74
Puke Green
#9AAE07
ΔE00 4.78
Barf Green
#94AC02
ΔE00 5.09
Icky Green
#8FAE22
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AB42 #4B42AB
analogous
#AB8042 #A2AB42 #6EAB42
triadic
#A2AB42 #42A2AB #AB42A2
tetradic
#A2AB42 #42AB80 #4B42AB #AB426E
square
#A2AB42 #42AB80 #4B42AB #AB426E
split-complementary
#A2AB42 #426EAB #8042AB
monochromatic
#4E5320 #787F31 #A2AB42 #BCC466 #CFD592
Accessibility & contrast
On white
2.49
#A2AB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#A2AB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AB42
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AB42 | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A336
Deuteranopia (green-blind)
#B7A549
Tritanopia (blue-blind)
#ACA195
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a2ab42; /* rgb */ color: rgb(162, 171, 66); /* oklch */ color: oklch(71.3% 0.129 113.8);
Tailwind
colors: {
custom: {
50: '#c0c37b',
500: '#a2ab42',
950: '#000000',
},
}SCSS
$custom: #a2ab42; $custom-light: #c0c37b; $custom-dark: #000000;
JSON
{
"hex": "#a2ab42",
"rgb": {
"r": 162,
"g": 171,
"b": 66
},
"hsl": {
"h": 65.143,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.71317,
"c": 0.1288,
"h": 113.8
},
"luminance": 0.37201
}Semantic roles & 50–950 ramp
primary
#A2AB42
secondary
#8D88C0
accent
#54D45F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C