#A2AB31#A2AB31
#A2AB31 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.141 H 113.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AB31 |
|---|---|
| RGB | rgb(162, 171, 49) |
| HSL | hsl(64, 55%, 43%) |
| HSV | hsv(64, 71%, 67%) |
| CMYK | cmyk(5.3%, 0%, 71.3%, 32.9%) |
| CIE-LAB | lab(67.30, -18.55, 58.24) |
| CIE-LCH | lch(67.30, 61.12, 107.66°) |
| OKLab | oklab(71.17% -0.0567 0.1295) |
| OKLCH | oklch(71.17% 0.141 113.6) |
| XYZ | xyz(30.0185, 37.0296, 8.4712) |
| Luminance | 0.3703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 3.05
Puke Green
#9AAE07
ΔE00 3.20
Vomit
#A2A415
ΔE00 3.21
Barf Green
#94AC02
ΔE00 3.76
Puke
#A5A502
ΔE00 3.97
Mustard Green
#A8B504
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AB31 #3A31AB
analogous
#AB7731 #A2AB31 #65AB31
triadic
#A2AB31 #31A2AB #AB31A2
tetradic
#A2AB31 #31AB77 #3A31AB #AB3165
square
#A2AB31 #31AB77 #3A31AB #AB3165
split-complementary
#A2AB31 #3165AB #7731AB
monochromatic
#484C16 #757B23 #A2AB31 #C3CC4D #D3DA7D
Accessibility & contrast
On white
2.50
#A2AB31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#A2AB31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AB31
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AB31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AB31 | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A31C
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a2ab31; /* rgb */ color: rgb(162, 171, 49); /* oklch */ color: oklch(71.2% 0.141 113.6);
Tailwind
colors: {
custom: {
50: '#c1c371',
500: '#a2ab31',
950: '#000000',
},
}SCSS
$custom: #a2ab31; $custom-light: #c1c371; $custom-dark: #000000;
JSON
{
"hex": "#a2ab31",
"rgb": {
"r": 162,
"g": 171,
"b": 49
},
"hsl": {
"h": 64.426,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.71173,
"c": 0.14135,
"h": 113.6
},
"luminance": 0.37029
}Semantic roles & 50–950 ramp
primary
#A2AB31
secondary
#7B75C2
accent
#49DF54
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B