Skip to content
Kolorvia
#afa45c

Color #afa45c

A muted medium yellow.

Conversions

HEX
#afa45c
RGB
rgb(175, 164, 92)
HSL
hsl(52, 34.2%, 52.4%)
HSV / HSB
hsv(52, 47.4%, 68.6%)
CMYK
cmyk(0%, 6.3%, 47.4%, 31.4%)
LAB
lab(66.85, -6.11, 38.59)
LCH
lch(66.85, 39.07, 99)
OKLCH
oklch(71.2%, 0.0941, 100.71)
HWB
hwb(52, 36.1%, 31.4%)

Harmony colors

Complementary

#5c67af

Analogous

#af7b5c
#afa45c
#91af5c

Triadic

#afa45c
#5cafa4
#a45caf

Split-complementary

#afa45c
#5c91af
#7b5caf

Tetradic

#afa45c
#67af5c
#5c67af
#a45caf

Square

#afa45c
#5caf7b
#5c67af
#af5c91

Shades

Color #afa45c mixed toward black.

#958b49
#786f3b
#5a542c
#3c381d
#1e1c0f

Tints

Color #afa45c mixed toward white.

#bcb377
#cac292
#d7d2ae
#e4e1c9
#f2f0e4

Tones

Color #afa45c mixed toward gray.

#a89f63
#a19a6a
#9a9571
#939078
#8d8b7f

Accessibility

Aa White text on this color
2.53:1
Aa Black text on this color
8.29:1

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

Under color vision deficiencies

Protanopia

#aaaa73 · ΔE 5.2

Deuteranopia

#abac78 · ΔE 6.1

Tritanopia

#ae8284 · ΔE 30.7

Achromatopsia

#a3a3a3 · ΔE 20.9

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

Code

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

Related colors

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

Frequently asked questions

#afa45c (#afa45c) is rgb(175, 164, 92) in RGB.

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