Skip to content
Kolorvia
#a5ba2a

Color #a5ba2a

A moderately saturated medium yellow.

Conversions

HEX
#a5ba2a
RGB
rgb(165, 186, 42)
HSL
hsl(68.8, 63.2%, 44.7%)
HSV / HSB
hsv(68.8, 77.4%, 72.9%)
CMYK
cmyk(11.3%, 0%, 77.4%, 27.1%)
LAB
lab(71.75, -25.05, 64.88)
LCH
lch(71.75, 69.55, 111.11)
OKLCH
oklch(74.8%, 0.161, 117.97)
HWB
hwb(68.8, 16.5%, 27.1%)

Harmony colors

Complementary

#3f2aba

Analogous

#ba872a
#a5ba2a
#5dba2a

Triadic

#a5ba2a
#2aa5ba
#ba2aa5

Split-complementary

#a5ba2a
#2a5dba
#872aba

Tetradic

#a5ba2a
#2aba3f
#3f2aba
#ba2aa5

Square

#a5ba2a
#2aba87
#3f2aba
#ba2a5d

Shades

Color #a5ba2a mixed toward black.

#899b23
#6e7c1c
#525d15
#373e0e
#1b1f07

Tints

Color #a5ba2a mixed toward white.

#bed43f
#cbdc66
#d8e58c
#e5eeb2
#f2f6d9

Tones

Color #a5ba2a mixed toward gray.

#9cae36
#94a242
#8b964e
#838a5a
#7a7e66

Accessibility

Aa White text on this color
2.17:1
Aa Black text on this color
9.66:1

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

Under color vision deficiencies

Protanopia

#aeaf67 · ΔE 9.5

Deuteranopia

#adac70 · ΔE 11.8

Tritanopia

#a68388 · ΔE 41.8

Achromatopsia

#b0b0b0 · ΔE 27.1

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

Code

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

Related colors

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

Frequently asked questions

#a5ba2a (#a5ba2a) is rgb(165, 186, 42) in RGB.

No, #a5ba2a 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 #a5ba2a, 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.