#A1AB20#A1AB20
#A1AB20 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.0% C 0.151 H 114.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A1AB20 |
|---|---|
| RGB | rgb(161, 171, 32) |
| HSL | hsl(64, 68%, 40%) |
| HSV | hsv(64, 81%, 67%) |
| CMYK | cmyk(5.8%, 0%, 81.3%, 32.9%) |
| CIE-LAB | lab(67.13, -19.71, 63.53) |
| CIE-LCH | lch(67.13, 66.52, 107.24°) |
| OKLab | oklab(70.99% -0.0613 0.1377) |
| OKLCH | oklch(70.99% 0.151 114) |
| XYZ | xyz(29.5225, 36.8078, 6.9156) |
| Luminance | 0.3681 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.29
Vomit
#A2A415
ΔE00 2.64
Pea Soup Green
#94A617
ΔE00 2.68
Barf Green
#94AC02
ΔE00 3.06
Puke
#A5A502
ΔE00 3.18
Mustard Green
#A8B504
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1AB20 #2A20AB
analogous
#AB7020 #A1AB20 #5BAB20
triadic
#A1AB20 #20A1AB #AB20A1
tetradic
#A1AB20 #20AB70 #2A20AB #AB205B
square
#A1AB20 #20AB70 #2A20AB #AB205B
split-complementary
#A1AB20 #205BAB #7020AB
monochromatic
#40440D #707716 #A1AB20 #CCD830 #D9E263
Accessibility & contrast
On white
2.51
#A1AB20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#A1AB20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1AB20
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1AB20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1AB20 | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A52E
Tritanopia (blue-blind)
#ACA092
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a1ab20; /* rgb */ color: rgb(161, 171, 32); /* oklch */ color: oklch(71.0% 0.151 114.0);
Tailwind
colors: {
custom: {
50: '#c1c36a',
500: '#a1ab20',
950: '#000000',
},
}SCSS
$custom: #a1ab20; $custom-light: #c1c36a; $custom-dark: #000000;
JSON
{
"hex": "#a1ab20",
"rgb": {
"r": 161,
"g": 171,
"b": 32
},
"hsl": {
"h": 64.317,
"s": 68.473,
"l": 39.804
},
"oklch": {
"l": 0.70992,
"c": 0.15076,
"h": 114
},
"luminance": 0.36807
}Semantic roles & 50–950 ramp
primary
#A1AB20
secondary
#6760C7
accent
#3CEB49
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A