Skip to content
Kolorvia
#afaf98

Color #afaf98

A nearly neutral, gray-leaning light yellow.

Conversions

HEX
#afaf98
RGB
rgb(175, 175, 152)
HSL
hsl(60, 12.6%, 64.1%)
HSV / HSB
hsv(60, 13.1%, 68.6%)
CMYK
cmyk(0%, 0%, 13.1%, 31.4%)
LAB
lab(70.9, -4.05, 11.82)
LCH
lch(70.9, 12.49, 108.91)
OKLCH
oklch(74.8%, 0.032, 107.08)
HWB
hwb(60, 59.6%, 31.4%)

Harmony colors

Complementary

#9898af

Analogous

#afa398
#afaf98
#a3af98

Triadic

#afaf98
#98afaf
#af98af

Split-complementary

#afaf98
#98a3af
#a398af

Tetradic

#afaf98
#98af98
#9898af
#af98af

Square

#afaf98
#98afa3
#9898af
#af98a3

Shades

Color #afaf98 mixed toward black.

#979779
#7b7b5f
#5c5c47
#3d3d30
#1f1f18

Tints

Color #afaf98 mixed toward white.

#bcbca9
#cacaba
#d7d7cb
#e4e4dd
#f2f2ee

Tones

Color #afaf98 mixed toward gray.

#adad9a
#abab9c
#a9a99e
#a7a7a0
#a5a5a2

Accessibility

Aa White text on this color
2.23:1
Aa Black text on this color
9.41:1

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

Under color vision deficiencies

Protanopia

#afaf9e · ΔE 2.3

Deuteranopia

#afaf9f · ΔE 2.7

Tritanopia

#afa2a3 · ΔE 15.4

Achromatopsia

#adadad · ΔE 10.2

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

Code

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

Related colors

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

Frequently asked questions

#afaf98 (#afaf98) is rgb(175, 175, 152) in RGB.

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