#A1B02A#A1B02A
#A1B02A is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.151 H 116.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B02A |
|---|---|
| RGB | rgb(161, 176, 42) |
| HSL | hsl(67, 61%, 43%) |
| HSV | hsv(67, 76%, 69%) |
| CMYK | cmyk(8.5%, 0%, 76.1%, 31%) |
| CIE-LAB | lab(68.60, -21.82, 61.88) |
| CIE-LCH | lch(68.60, 65.61, 109.43°) |
| OKLab | oklab(72.19% -0.0663 0.136) |
| OKLCH | oklch(72.19% 0.151 116) |
| XYZ | xyz(30.6420, 38.7954, 8.0641) |
| Luminance | 0.3880 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.98
Barf Green
#94AC02
ΔE00 2.76
Mustard Green
#A8B504
ΔE00 2.95
Sickly Green
#94B21C
ΔE00 3.07
Pea Soup Green
#94A617
ΔE00 3.23
Booger Green
#96B403
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B02A #392AB0
analogous
#B07C2A #A1B02A #5EB02A
triadic
#A1B02A #2AA1B0 #B02AA1
tetradic
#A1B02A #2AB07C #392AB0 #B02A5E
square
#A1B02A #2AB07C #392AB0 #B02A5E
split-complementary
#A1B02A #2A5EB0 #7C2AB0
monochromatic
#474D12 #747F1E #A1B02A #C3D345 #D3DE76
Accessibility & contrast
On white
2.40
#A1B02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#A1B02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B02A
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B02A | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA707
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#ACA697
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a1b02a; /* rgb */ color: rgb(161, 176, 42); /* oklch */ color: oklch(72.2% 0.151 116.0);
Tailwind
colors: {
custom: {
50: '#c0c76f',
500: '#a1b02a',
950: '#000000',
},
}SCSS
$custom: #a1b02a; $custom-light: #c0c76f; $custom-dark: #000000;
JSON
{
"hex": "#a1b02a",
"rgb": {
"r": 161,
"g": 176,
"b": 42
},
"hsl": {
"h": 66.716,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.72187,
"c": 0.1513,
"h": 116
},
"luminance": 0.38795
}Semantic roles & 50–950 ramp
primary
#A1B02A
secondary
#7970C6
accent
#43E555
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B