#A2AB37#A2AB37
#A2AB37 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.2% C 0.137 H 113.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AB37 |
|---|---|
| RGB | rgb(162, 171, 55) |
| HSL | hsl(65, 51%, 44%) |
| HSV | hsv(65, 68%, 67%) |
| CMYK | cmyk(5.3%, 0%, 67.8%, 32.9%) |
| CIE-LAB | lab(67.34, -18.21, 55.98) |
| CIE-LCH | lch(67.34, 58.87, 108.02°) |
| OKLab | oklab(71.22% -0.0551 0.1257) |
| OKLCH | oklch(71.22% 0.137 113.7) |
| XYZ | xyz(30.1536, 37.0836, 9.1831) |
| Luminance | 0.3708 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 3.34
Vomit
#A2A415
ΔE00 3.66
Puke Green
#9AAE07
ΔE00 3.67
Barf Green
#94AC02
ΔE00 4.13
Booger
#9BB53C
ΔE00 4.33
Puke
#A5A502
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AB37 #4037AB
analogous
#AB7A37 #A2AB37 #68AB37
triadic
#A2AB37 #37A2AB #AB37A2
tetradic
#A2AB37 #37AB7A #4037AB #AB3768
square
#A2AB37 #37AB7A #4037AB #AB3768
split-complementary
#A2AB37 #3768AB #7A37AB
monochromatic
#4A4E19 #767D28 #A2AB37 #C0C956 #D1D885
Accessibility & contrast
On white
2.50
#A2AB37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#A2AB37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AB37
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AB37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AB37 | 1.00 | 2.50 | 8.42 | 8.42 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A326
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#ADA194
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a2ab37; /* rgb */ color: rgb(162, 171, 55); /* oklch */ color: oklch(71.2% 0.137 113.7);
Tailwind
colors: {
custom: {
50: '#c0c375',
500: '#a2ab37',
950: '#000000',
},
}SCSS
$custom: #a2ab37; $custom-light: #c0c375; $custom-dark: #000000;
JSON
{
"hex": "#a2ab37",
"rgb": {
"r": 162,
"g": 171,
"b": 55
},
"hsl": {
"h": 64.655,
"s": 51.327,
"l": 44.314
},
"oklch": {
"l": 0.71218,
"c": 0.1373,
"h": 113.7
},
"luminance": 0.37083
}Semantic roles & 50–950 ramp
primary
#A2AB37
secondary
#827CC1
accent
#4DDB58
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B