Skip to content

#A8AF50 Color

#A8AF50 is rgb(168, 175, 80) in RGB, hsl(64, 37%, 50%) in HSL, and about cmyk(4%, 0%, 54%, 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.52. Black text is the more readable choice on this background.

#A8AF50
HEX#A8AF50
RGBrgb(168, 175, 80)
HSLhsl(64, 37%, 50%)
HSVhsv(64, 54%, 69%)
CMYKcmyk(4%, 0%, 54%, 31%)
OKLCHoklch(72.9% 0.12 112.8)
LABlab(69.42% -12.44 46.88)
LCHlch(69.42% 48.51 104.85)

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

#A8AF50 Channel Values

How #A8AF50 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 168 · G 175 · B 808-bit channels as sent to the display
HSLH 64° · S 37% · L 50%Easiest model for building lighter and darker variants
HSVH 64° · S 54% · V 69%Matches the picker in most design tools
CMYKC 4% · M 0% · Y 54% · K 31%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.36:1 vs white · 8.91:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

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

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

Colors That Go With #A8AF50

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

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

How #A8AF50 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#A8AF50
Protanopia#AEAE50
Protanomaly#ACAE50
Deuteranopia#ADAD51
Deuteranomaly#ABAE50
Tritanopia#B0A7A7
Tritanomaly#ADAA8C
Achromatopsia#A9A9A9

Test a full palette in the color blindness simulator.

Using #A8AF50 in Code

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

CSS custom property--color-a8af50: #A8AF50;
CSS backgroundbackground-color: #A8AF50;
Tailwind configcolors: { 'color-a8af50': '#A8AF50' }
SwiftUIColor(red: 0.659, green: 0.686, blue: 0.314)
Android XML<color name="color_a8af50">#A8AF50</color>
SVG fillfill="#A8AF50"

More Yellow Colors

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

#A8AF50 Frequently Asked Questions

What color is #A8AF50?

#A8AF50 is a mid-tone yellow — rgb(168, 175, 80) in RGB and hsl(64, 37%, 50%) 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.52.

What is the RGB value of #A8AF50?

#A8AF50 is rgb(168, 175, 80) — red 168, green 175, and blue 80 on the 0-255 scale.

What is the CMYK value of #A8AF50?

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

Should text on #A8AF50 be black or white?

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

Can I write #A8AF50 as a CSS color keyword?

No. #A8AF50 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 10.93, which is visibly different.

Open #A8AF50 in a Tool

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