Skip to content
Kolorvia
#afaf3c

Color #afaf3c

A moderately saturated medium yellow.

Conversions

HEX
#afaf3c
RGB
rgb(175, 175, 60)
HSL
hsl(60, 48.9%, 46.1%)
HSV / HSB
hsv(60, 65.7%, 68.6%)
CMYK
cmyk(0%, 0%, 65.7%, 31.4%)
LAB
lab(69.54, -14.38, 56.56)
LCH
lch(69.54, 58.36, 104.26)
OKLCH
oklch(73.3%, 0.135, 109.33)
HWB
hwb(60, 23.5%, 31.4%)

Harmony colors

Complementary

#3c3caf

Analogous

#af763c
#afaf3c
#76af3c

Triadic

#afaf3c
#3cafaf
#af3caf

Split-complementary

#afaf3c
#3c76af
#763caf

Tetradic

#afaf3c
#3caf3c
#3c3caf
#af3caf

Square

#afaf3c
#3caf76
#3c3caf
#af3c76

Shades

Color #afaf3c mixed toward black.

#929232
#757528
#58581e
#3a3a14
#1d1d0a

Tints

Color #afaf3c mixed toward white.

#c4c454
#d0d077
#dcdc99
#e8e8bb
#f3f3dd

Tones

Color #afaf3c mixed toward gray.

#a5a546
#9c9c4f
#929259
#898962
#7f7f6c

Accessibility

Aa White text on this color
2.33:1
Aa Black text on this color
9.02:1

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

Under color vision deficiencies

Protanopia

#afaf68 · ΔE 6.6

Deuteranopia

#afaf6f · ΔE 7.9

Tritanopia

#af7f83 · ΔE 39.2

Achromatopsia

#aaaaaa · ΔE 25.3

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

Code

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

Related colors

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

Frequently asked questions

#afaf3c (#afaf3c) is rgb(175, 175, 60) in RGB.

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