#AF8C18 Color
#AF8C18 is rgb(175, 140, 24) in RGB, hsl(46, 76%, 39%) in HSL, and about cmyk(0%, 20%, 86%, 31%) in CMYK. It has no registered color name of its own — the closest is Dark Goldenrod (#B8860B), clearly related but distinguishable side by side at ΔE 7.57. Black text is the more readable choice on this background.
#AF8C18rgb(175, 140, 24)hsl(46, 76%, 39%)hsv(46, 86%, 69%)cmyk(0%, 20%, 86%, 31%)oklch(65.5% 0.128 89.9)lab(60.24% 6.07 59.79)lch(60.24% 60.10 84.20)What #AF8C18 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 #AF8C18, 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.
#AF8C18 Channel Values
How #AF8C18 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 175 · G 140 · B 24 | 8-bit channels as sent to the display |
| HSL | H 46° · S 76% · L 39% | Easiest model for building lighter and darker variants |
| HSV | H 46° · S 86% · V 69% | Matches the picker in most design tools |
| CMYK | C 0% · M 20% · Y 86% · K 31% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 3.19:1 vs white · 6.59:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a #AF8C18 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.
Need a specific ratio against another background? Open #AF8C18 in the contrast checker.
Colors That Go With #AF8C18
Pairings derived from color-wheel relationships. The complementary color sits opposite #AF8C18; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of #AF8C18
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.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #AF8C18.
How #AF8C18 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.
#AF8C18#939317#9F9017#99990E#A29413#B58484#B38769#909090Using #AF8C18 in Code
Copy-ready declarations for the places this color usually ends up.
--color-af8c18: #AF8C18;background-color: #AF8C18;colors: { 'color-af8c18': '#AF8C18' }Color(red: 0.686, green: 0.549, blue: 0.094)<color name="color_af8c18">#AF8C18</color>fill="#AF8C18"More Yellow Colors
#AF8C18 sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.
#AF8C18 Frequently Asked Questions
What color is #AF8C18?
#AF8C18 is a dark yellow — rgb(175, 140, 24) in RGB and hsl(46, 76%, 39%) in HSL. It carries no registered color name of its own; the closest named color is Dark Goldenrod (#B8860B), which is clearly related but distinguishable side by side at a CIE76 distance of 7.57.
What is the RGB value of #AF8C18?
#AF8C18 is rgb(175, 140, 24) — red 175, green 140, and blue 24 on the 0-255 scale.
What is the CMYK value of #AF8C18?
#AF8C18 converts to approximately cmyk(0%, 20%, 86%, 31%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #AF8C18 be black or white?
Black text is the more readable choice. #AF8C18 scores 3.19:1 against white and 6.59:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Can I write #AF8C18 as a CSS color keyword?
No. #AF8C18 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 darkgoldenrod (#B8860B) at a CIE76 distance of 7.57, which is clearly related but distinguishable side by side.
Open #AF8C18 in a Tool
Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.