Skip to content
Kolorvia
#afa77b

Color #afa77b

A muted medium yellow.

Conversions

HEX
#afa77b
RGB
rgb(175, 167, 123)
HSL
hsl(50.8, 24.5%, 58.4%)
HSV / HSB
hsv(50.8, 29.7%, 68.6%)
CMYK
cmyk(0%, 4.6%, 29.7%, 31.4%)
LAB
lab(68.15, -4.1, 23.85)
LCH
lch(68.15, 24.2, 99.75)
OKLCH
oklch(72.4%, 0.0606, 99.01)
HWB
hwb(50.8, 48.2%, 31.4%)

Harmony colors

Complementary

#7b83af

Analogous

#af8d7b
#afa77b
#9daf7b

Triadic

#afa77b
#7bafa7
#a77baf

Split-complementary

#afa77b
#7b9daf
#8d7baf

Tetradic

#afa77b
#83af7b
#7b83af
#a77baf

Square

#afa77b
#7baf8d
#7b83af
#af7b9d

Shades

Color #afa77b mixed toward black.

#9b915e
#7c744b
#5d5738
#3e3a25
#1f1d13

Tints

Color #afa77b mixed toward white.

#bcb691
#cac4a7
#d7d3bd
#e4e2d3
#f2f0e9

Tones

Color #afa77b mixed toward gray.

#aba47f
#a6a184
#a29e88
#9e9b8c
#999891

Accessibility

Aa White text on this color
2.43:1
Aa Black text on this color
8.64:1

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

Under color vision deficiencies

Protanopia

#acac87 · ΔE 3.7

Deuteranopia

#acad8a · ΔE 4.4

Tritanopia

#af9092 · ΔE 24.8

Achromatopsia

#a6a6a6 · ΔE 15.8

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

Code

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

Related colors

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

Frequently asked questions

#afa77b (#afa77b) is rgb(175, 167, 123) in RGB.

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