Skip to content
Kolorvia
#afb879

Color #afb879

A muted medium yellow.

Conversions

HEX
#afb879
RGB
rgb(175, 184, 121)
HSL
hsl(68.6, 30.7%, 59.8%)
HSV / HSB
hsv(68.6, 34.2%, 72.2%)
CMYK
cmyk(4.9%, 0%, 34.2%, 27.8%)
LAB
lab(72.74, -13.3, 31.01)
LCH
lch(72.74, 33.74, 113.21)
OKLCH
oklch(76%, 0.0847, 115.08)
HWB
hwb(68.6, 47.5%, 27.8%)

Harmony colors

Complementary

#8279b8

Analogous

#b8a279
#afb879
#8fb879

Triadic

#afb879
#79afb8
#b879af

Split-complementary

#afb879
#798fb8
#a279b8

Tetradic

#afb879
#79b882
#8279b8
#b879af

Square

#afb879
#79b8a2
#8279b8
#b8798f

Shades

Color #afb879 mixed toward black.

#9ba658
#7c8546
#5d6435
#3e4223
#1f2112

Tints

Color #afb879 mixed toward white.

#bcc48f
#cad0a6
#d7dbbc
#e4e7d2
#f2f3e9

Tones

Color #afb879 mixed toward gray.

#abb37e
#a7ad84
#a4a889
#a0a38e
#9c9e93

Accessibility

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

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

Under color vision deficiencies

Protanopia

#b3b38c · ΔE 6.1

Deuteranopia

#b2b290 · ΔE 7.4

Tritanopia

#af989b · ΔE 30.1

Achromatopsia

#b2b2b2 · ΔE 19.9

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

Code

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

Related colors

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

Frequently asked questions

#afb879 (#afb879) is rgb(175, 184, 121) in RGB.

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