#A2AB40#A2AB40
#A2AB40 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.3% C 0.130 H 113.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AB40 |
|---|---|
| RGB | rgb(162, 171, 64) |
| HSL | hsl(65, 46%, 46%) |
| HSV | hsv(65, 63%, 67%) |
| CMYK | cmyk(5.3%, 0%, 62.6%, 32.9%) |
| CIE-LAB | lab(67.41, -17.63, 52.32) |
| CIE-LCH | lch(67.41, 55.21, 108.62°) |
| OKLab | oklab(71.3% -0.0526 0.1194) |
| OKLCH | oklch(71.3% 0.13 113.8) |
| XYZ | xyz(30.3894, 37.1779, 10.4247) |
| Luminance | 0.3718 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 4.02
Booger
#9BB53C
ΔE00 4.27
Vomit
#A2A415
ΔE00 4.52
Puke Green
#9AAE07
ΔE00 4.56
Barf Green
#94AC02
ΔE00 4.89
Icky Green
#8FAE22
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AB40 #4940AB
analogous
#AB7E40 #A2AB40 #6CAB40
triadic
#A2AB40 #40A2AB #AB40A2
tetradic
#A2AB40 #40AB7E #4940AB #AB406C
square
#A2AB40 #40AB7E #4940AB #AB406C
split-complementary
#A2AB40 #406CAB #7E40AB
monochromatic
#4E521F #787E2F #A2AB40 #BDC563 #D0D590
Accessibility & contrast
On white
2.49
#A2AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#A2AB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AB40
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AB40 | 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)
#B7A333
Deuteranopia (green-blind)
#B7A547
Tritanopia (blue-blind)
#ACA195
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a2ab40; /* rgb */ color: rgb(162, 171, 64); /* oklch */ color: oklch(71.3% 0.130 113.8);
Tailwind
colors: {
custom: {
50: '#c0c37a',
500: '#a2ab40',
950: '#000000',
},
}SCSS
$custom: #a2ab40; $custom-light: #c0c37a; $custom-dark: #000000;
JSON
{
"hex": "#a2ab40",
"rgb": {
"r": 162,
"g": 171,
"b": 64
},
"hsl": {
"h": 65.047,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.71297,
"c": 0.13044,
"h": 113.8
},
"luminance": 0.37177
}Semantic roles & 50–950 ramp
primary
#A2AB40
secondary
#8B86C1
accent
#53D55E
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B