Skip to content
Kolorvia
#a5a52a

Color #a5a52a

A moderately saturated medium yellow.

Conversions

HEX
#a5a52a
RGB
rgb(165, 165, 42)
HSL
hsl(60, 59.4%, 40.6%)
HSV / HSB
hsv(60, 74.5%, 64.7%)
CMYK
cmyk(0%, 0%, 74.5%, 35.3%)
LAB
lab(65.81, -14.51, 59.39)
LCH
lch(65.81, 61.14, 103.73)
OKLCH
oklch(70%, 0.1385, 109.48)
HWB
hwb(60, 16.5%, 35.3%)

Harmony colors

Complementary

#2a2aa5

Analogous

#a5682a
#a5a52a
#68a52a

Triadic

#a5a52a
#2aa5a5
#a52aa5

Split-complementary

#a5a52a
#2a68a5
#682aa5

Tetradic

#a5a52a
#2aa52a
#2a2aa5
#a52aa5

Square

#a5a52a
#2aa568
#2a2aa5
#a52a68

Shades

Color #a5a52a mixed toward black.

#8a8a23
#6e6e1c
#535315
#37370e
#1c1c07

Tints

Color #a5a52a mixed toward white.

#cccc36
#d6d65e
#e0e086
#ebebaf
#f5f5d7

Tones

Color #a5a52a mixed toward gray.

#9b9b34
#91913f
#868649
#7c7c53
#72725d

Accessibility

Aa White text on this color
2.62:1
Aa Black text on this color
8.02:1

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

Under color vision deficiencies

Protanopia

#a5a55d · ΔE 7

Deuteranopia

#a5a565 · ΔE 8.5

Tritanopia

#a57479 · ΔE 40.6

Achromatopsia

#a0a0a0 · ΔE 25.8

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

Code

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

Related colors

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

Frequently asked questions

#a5a52a (#a5a52a) is rgb(165, 165, 42) in RGB.

No, #a5a52a is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #a5a52a, 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.