Skip to content
Kolorvia
#afbb22

Color #afbb22

A moderately saturated medium yellow.

Conversions

HEX
#afbb22
RGB
rgb(175, 187, 34)
HSL
hsl(64.7, 69.2%, 43.3%)
HSV / HSB
hsv(64.7, 81.8%, 73.3%)
CMYK
cmyk(6.4%, 0%, 81.8%, 26.7%)
LAB
lab(72.74, -21.61, 68.3)
LCH
lch(72.74, 71.64, 107.56)
OKLCH
oklch(75.8%, 0.1623, 114.42)
HWB
hwb(64.7, 13.3%, 26.7%)

Harmony colors

Complementary

#2e22bb

Analogous

#bb7a22
#afbb22
#62bb22

Triadic

#afbb22
#22afbb
#bb22af

Split-complementary

#afbb22
#2262bb
#7a22bb

Tetradic

#afbb22
#22bb2e
#2e22bb
#bb22af

Square

#afbb22
#22bb7a
#2e22bb
#bb2262

Shades

Color #afbb22 mixed toward black.

#929c1c
#757d17
#575d11
#3a3e0b
#1d1f06

Tints

Color #afbb22 mixed toward white.

#cdda33
#d7e15c
#e1e985
#ebf0ad
#f5f8d6

Tones

Color #afbb22 mixed toward gray.

#a4ae2f
#99a13b
#8f9548
#848855
#797b62

Accessibility

Aa White text on this color
2.11:1
Aa Black text on this color
9.95:1

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

Under color vision deficiencies

Protanopia

#b4b466 · ΔE 8.7

Deuteranopia

#b4b36f · ΔE 10.4

Tritanopia

#b08288 · ΔE 43.9

Achromatopsia

#b2b2b2 · ΔE 27.4

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

Code

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

Related colors

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

Frequently asked questions

#afbb22 (#afbb22) is rgb(175, 187, 34) in RGB.

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