Skip to content
Kolorvia
#a2b02a

Color #a2b02a

A moderately saturated medium yellow.

Conversions

HEX
#a2b02a
RGB
rgb(162, 176, 42)
HSL
hsl(66.3, 61.5%, 42.7%)
HSV / HSB
hsv(66.3, 76.1%, 69%)
CMYK
cmyk(8%, 0%, 76.1%, 31%)
LAB
lab(68.68, -21.4, 61.97)
LCH
lch(68.68, 65.56, 109.05)
OKLCH
oklch(72.3%, 0.151, 115.58)
HWB
hwb(66.3, 16.5%, 31%)

Harmony colors

Complementary

#382ab0

Analogous

#b07b2a
#a2b02a
#5fb02a

Triadic

#a2b02a
#2aa2b0
#b02aa2

Split-complementary

#a2b02a
#2a5fb0
#7b2ab0

Tetradic

#a2b02a
#2ab038
#382ab0
#b02aa2

Square

#a2b02a
#2ab07b
#382ab0
#b02a5f

Shades

Color #a2b02a mixed toward black.

#879323
#6c751c
#515815
#363b0e
#1b1d07

Tints

Color #a2b02a mixed toward white.

#c0d03a
#cdd962
#d9e389
#e6ecb0
#f2f6d8

Tones

Color #a2b02a mixed toward gray.

#99a535
#909a40
#878e4b
#7f8357
#767862

Accessibility

Aa White text on this color
2.39:1
Aa Black text on this color
8.78:1

Black text reads better on this background (8.78:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#a8a862 · ΔE 8.6

Deuteranopia

#a7a66b · ΔE 10.7

Tritanopia

#a37c81 · ΔE 41.3

Achromatopsia

#a7a7a7 · ΔE 26.5

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #a2b02a;
Tailwind (arbitrary value)
bg-[#a2b02a]

Related colors

Ivory #fffff0
Beige #f5f5dc
Light Goldenrod Yellow #fafad2
Light Yellow #ffffe0
Olive #808000
Yellow #ffff00

Frequently asked questions

#a2b02a (#a2b02a) is rgb(162, 176, 42) in RGB.

No, #a2b02a is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #a2b02a, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.