Skip to content

#AFAC4B Color

#AFAC4B is rgb(175, 172, 75) in RGB, hsl(58, 40%, 49%) in HSL, and about cmyk(0%, 2%, 57%, 31%) in CMYK. It has no registered color name of its own — the closest is Olive Green (#B5B35C), clearly related but distinguishable side by side at ΔE 5.54. Black text is the more readable choice on this background.

#AFAC4B
HEX#AFAC4B
RGBrgb(175, 172, 75)
HSLhsl(58, 40%, 49%)
HSVhsv(58, 57%, 69%)
CMYKcmyk(0%, 2%, 57%, 31%)
OKLCHoklch(72.7% 0.12 107.4)
LABlab(69.14% -8.33 49.07)
LCHlch(69.14% 49.77 99.64)

What #AFAC4B 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 #AFAC4B, 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.

#AFAC4B Channel Values

How #AFAC4B 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 172 · B 758-bit channels as sent to the display
HSLH 58° · S 40% · L 49%Easiest model for building lighter and darker variants
HSVH 58° · S 57% · V 69%Matches the picker in most design tools
CMYKC 0% · M 2% · Y 57% · K 31%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.38:1 vs white · 8.83:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #AFAC4B 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.38:1AA normal AA large AAA normal
TextBlack text8.83:1AA normal AA large AAA normal

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

Colors That Go With #AFAC4B

Pairings derived from color-wheel relationships. The complementary color sits opposite #AFAC4B; 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 #AFAC4B

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 #AFAC4B.

How #AFAC4B 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#AFAC4B
Protanopia#ADAD4B
Protanomaly#AEAC4B
Deuteranopia#ADAD4B
Deuteranomaly#AEAD4B
Tritanopia#B7A4A4
Tritanomaly#B4A789
Achromatopsia#A8A8A8

Test a full palette in the color blindness simulator.

Using #AFAC4B in Code

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

CSS custom property--color-afac4b: #AFAC4B;
CSS backgroundbackground-color: #AFAC4B;
Tailwind configcolors: { 'color-afac4b': '#AFAC4B' }
SwiftUIColor(red: 0.686, green: 0.675, blue: 0.294)
Android XML<color name="color_afac4b">#AFAC4B</color>
SVG fillfill="#AFAC4B"

More Yellow Colors

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

#AFAC4B Frequently Asked Questions

What color is #AFAC4B?

#AFAC4B is a mid-tone yellow — rgb(175, 172, 75) in RGB and hsl(58, 40%, 49%) in HSL. It carries no registered color name of its own; the closest named color is Olive Green (#B5B35C), which is clearly related but distinguishable side by side at a CIE76 distance of 5.54.

What is the RGB value of #AFAC4B?

#AFAC4B is rgb(175, 172, 75) — red 175, green 172, and blue 75 on the 0-255 scale.

What is the CMYK value of #AFAC4B?

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

Should text on #AFAC4B be black or white?

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

Can I write #AFAC4B as a CSS color keyword?

No. #AFAC4B 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 darkkhaki (#BDB76B) at a CIE76 distance of 11.07, which is visibly different.

Open #AFAC4B in a Tool

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