Skip to content
Kolorvia
#9a8a3c

Color #9a8a3c

A moderately saturated medium yellow.

Conversions

HEX
#9a8a3c
RGB
rgb(154, 138, 60)
HSL
hsl(49.8, 43.9%, 42%)
HSV / HSB
hsv(49.8, 61%, 60.4%)
CMYK
cmyk(0%, 10.4%, 61%, 39.6%)
LAB
lab(57.44, -3.92, 43.03)
LCH
lch(57.44, 43.21, 95.21)
OKLCH
oklch(63.2%, 0.1002, 97.8)
HWB
hwb(49.8, 23.5%, 39.6%)

Harmony colors

Complementary

#3c4c9a

Analogous

#9a5b3c
#9a8a3c
#7b9a3c

Triadic

#9a8a3c
#3c9a8a
#8a3c9a

Split-complementary

#9a8a3c
#3c7b9a
#5b3c9a

Tetradic

#9a8a3c
#4c9a3c
#3c4c9a
#8a3c9a

Square

#9a8a3c
#3c9a5b
#3c4c9a
#9a3c7b

Shades

Color #9a8a3c mixed toward black.

#807332
#675c28
#4d451e
#332e14
#1a170a

Tints

Color #9a8a3c mixed toward white.

#baa74e
#c8b971
#d6ca95
#e3dcb8
#f1eddc

Tones

Color #9a8a3c mixed toward gray.

#928544
#8a804c
#837b54
#7b755b
#737063

Accessibility

Aa White text on this color
3.46:1
Aa Black text on this color
6.07:1

Black text reads better on this background (6.07:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#939357 · ΔE 6.7

Deuteranopia

#94955c · ΔE 7.6

Tritanopia

#99676a · ΔE 32.2

Achromatopsia

#8a8a8a · ΔE 21.9

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

Code

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

Related colors

Gold #ffd700
Cornsilk #fff8dc
Khaki #f0e68c
Lemon Chiffon #fffacd
Pale Goldenrod #eee8aa
Dark Khaki #bdb76b

Frequently asked questions

#9a8a3c (#9a8a3c) is rgb(154, 138, 60) in RGB.

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