Skip to content

#AFAA8E Color

#AFAA8E is rgb(175, 170, 142) in RGB, hsl(51, 17%, 62%) in HSL, and about cmyk(0%, 3%, 19%, 31%) in CMYK. It has no registered color name of its own — the closest is Khaki (Web) (Khaki) (#C3B091), clearly related but distinguishable side by side at ΔE 7.04. Black text is the more readable choice on this background.

#AFAA8E
HEX#AFAA8E
RGBrgb(175, 170, 142)
HSLhsl(51, 17%, 62%)
HSVhsv(51, 19%, 69%)
CMYKcmyk(0%, 3%, 19%, 31%)
OKLCHoklch(73.5% 0.039 98.9)
LABlab(69.47% -1.67 15.18)
LCHlch(69.47% 15.27 96.26)

What #AFAA8E Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #AFAA8E, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every yellow in the library.

#AFAA8E Channel Values

How #AFAA8E breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 175 · G 170 · B 1428-bit channels as sent to the display
HSLH 51° · S 17% · L 62%Easiest model for building lighter and darker variants
HSVH 51° · S 19% · V 69%Matches the picker in most design tools
CMYKC 0% · M 3% · Y 19% · K 31%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.34:1 vs white · 8.96:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #AFAA8E background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text2.34:1AA normal AA large AAA normal
TextBlack text8.96:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #AFAA8E in the contrast checker.

Colors That Go With #AFAA8E

Pairings derived from color-wheel relationships. The complementary color sits opposite #AFAA8E; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #AFAA8E

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #AFAA8E.

How #AFAA8E Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#AFAA8E
Protanopia#ABAB8E
Protanomaly#ADAB8E
Deuteranopia#ACAC8E
Deuteranomaly#ADAB8E
Tritanopia#B2A7A7
Tritanomaly#B1A89D
Achromatopsia#A9A9A9

Test a full palette in the color blindness simulator.

Using #AFAA8E in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-afaa8e: #AFAA8E;
CSS backgroundbackground-color: #AFAA8E;
Tailwind configcolors: { 'color-afaa8e': '#AFAA8E' }
SwiftUIColor(red: 0.686, green: 0.667, blue: 0.557)
Android XML<color name="color_afaa8e">#AFAA8E</color>
SVG fillfill="#AFAA8E"

More Yellow Colors

#AFAA8E sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.

#AFAA8E Frequently Asked Questions

What color is #AFAA8E?

#AFAA8E is a light yellow — rgb(175, 170, 142) in RGB and hsl(51, 17%, 62%) in HSL. It carries no registered color name of its own; the closest named color is Khaki (Web) (Khaki) (#C3B091), which is clearly related but distinguishable side by side at a CIE76 distance of 7.04.

What is the RGB value of #AFAA8E?

#AFAA8E is rgb(175, 170, 142) — red 175, green 170, and blue 142 on the 0-255 scale.

What is the CMYK value of #AFAA8E?

#AFAA8E converts to approximately cmyk(0%, 3%, 19%, 31%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #AFAA8E be black or white?

Black text is the more readable choice. #AFAA8E scores 2.34:1 against white and 8.96:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #AFAA8E as a CSS color keyword?

No. #AFAA8E is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is tan (#D2B48C) at a CIE76 distance of 14.05, which is visibly different.

Open #AFAA8E in a Tool

Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.