Skip to content
Kolorvia
#ab9822

Color #ab9822

A moderately saturated medium yellow.

Conversions

HEX
#ab9822
RGB
rgb(171, 152, 34)
HSL
hsl(51.7, 66.8%, 40.2%)
HSV / HSB
hsv(51.7, 80.1%, 67.1%)
CMYK
cmyk(0%, 11.1%, 80.1%, 32.9%)
LAB
lab(62.7, -5.31, 59.38)
LCH
lch(62.7, 59.62, 95.11)
OKLCH
oklch(67.7%, 0.1305, 99.48)
HWB
hwb(51.7, 13.3%, 32.9%)

Harmony colors

Complementary

#2235ab

Analogous

#ab5422
#ab9822
#79ab22

Triadic

#ab9822
#22ab98
#9822ab

Split-complementary

#ab9822
#2279ab
#5422ab

Tetradic

#ab9822
#35ab22
#2235ab
#9822ab

Square

#ab9822
#22ab54
#2235ab
#ab2279

Shades

Color #ab9822 mixed toward black.

#8e7f1c
#726517
#554c11
#39330b
#1c1906

Tints

Color #ab9822 mixed toward white.

#d5bd2b
#ddca55
#e6d880
#eee5aa
#f7f2d5

Tones

Color #ab9822 mixed toward gray.

#a0902d
#948839
#897f44
#7d7750
#726f5b

Accessibility

Aa White text on this color
2.9:1
Aa Black text on this color
7.25:1

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

Under color vision deficiencies

Protanopia

#a3a354 · ΔE 8.3

Deuteranopia

#a4a65b · ΔE 9.5

Tritanopia

#aa6a6f · ΔE 39.1

Achromatopsia

#989898 · ΔE 25.5

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

Code

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

Related colors

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

Frequently asked questions

#ab9822 (#ab9822) is rgb(171, 152, 34) in RGB.

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