Maroon Colors  ·  Color Library

Palettes / Colors / #AFA103

#AFA103 — Vivid Yellow

#AFA103 is a yellow color we call Vivid Yellow, closest to the named color DarkGoldenRod (#B8860B). It belongs to the yellow family.

Color name

Closest CSS keyword: darkgoldenrod (#B8860B) — not an exact match. CSS darkgoldenrod gives you #B8860B, a different color; use #AFA103 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#AFA103 is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #0311B0; it also sits naturally between #B04B03 and #68B003. In the palettes below you can see it working alongside real color combinations from our collection.

#AFA103 · RGB 175, 161, 3

Download PNG swatch SVG

Color values

HEX#AFA103
RGB175, 161, 3
HSL55°, 97%, 35%
HSV55°, 98%, 69%
CMYK0%, 8%, 98%, 31%
XYZ30.44, 34.61, 5.16
Yxy34.61, 0.4335, 0.4929
CIE-Lab65.44, -8.96, 68.03
Hunter Lab58.83, -7.57, 34.04

RGB & CMYK percentages

Red 69% · Green 63% · Blue 1%

Cyan 0% · Magenta 8% · Yellow 98% · Key 31%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #AFA103 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #AFA103 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #AFA103

.text { color: #AFA103; }
.background { background-color: #AFA103; }
.border { border: 3px solid #AFA103; }
.text-rgb { color: rgb(175, 161, 3); }
.text-hsl { color: hsl(55, 97%, 35%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AFA103; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(175, 161, 3, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AFA103; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(175, 161, 3, 0.8); }

HTML: <p style="color:#AFA103">Text here</p> · <div style="background-color:#AFA103">Div content here</div>

Shades of #AFA103

#A19402#928602#837802#746A02#645C02#504A01#413C01#322E01#232001#141200

Tints of #AFA103

#CEBD03#ECD904#FBE813#FCEB31#FCEE54#FDF172#FDF490#FEF7AF#FEFACD#FFFDEB

Tones of #AFA103

#A3970F#978D1C#8A8228#7F7834#726E40#66644D

Color harmonies

Complementary — #0311B0:

Analogous:

Triadic:

Contrast & accessibility

Against white text2.65:1 Fails
Against black text7.92:1 AAA

Best text color on #AFA103: #000000.

Semi-transparent (opacity) text on #AFA103

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #AFA103: ·

How #AFA103 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #A9A929Deuteranopia · #AAAB32Tritanopia · #AE474E

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind yellow 600 · #CA8A04Tailwind amber 600 · #D97706Tailwind yellow 500 · #EAB308

Palettes with a similar color

These palettes use a close neighbour of #AFA103 rather than the exact color:

Golden Whisper
#AC9C12 · #D5EB46 · #1E33E7 · #CBC8F6
Dreamy Saffron
#B4AD13 · #B5E720 · #9CED58 · #AAF49C
Tranquil Ruby Orchard
#BB6E1A · #B3B011 · #659D1E · #2DAF1E
Scarlet Voyage
#A9A417 · #92E850 · #19E038 · #54E1BF
Vivid Meadow
#821929 · #56290C · #9F9810 · #325510
Velvet Ruby Mirage
#B41B44 · #A62618 · #AB5911 · #B29919

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#AC9C12#B4AD13#B3B011#A9A417#9F9810#B29919#BFA815#9E9B16#999E11#B19F1F#B1991F#A3B515

Browse neighbouring colors

← #AFA102  ·  #AFA104 →

Frequently asked questions

What color is #AFA103?

#AFA103 is Vivid Yellow, a yellow color (RGB 175, 161, 3). Its closest standard named color is DarkGoldenRod.

What is the RGB and HSL of #AFA103?

#AFA103 is RGB 175, 161, 3 — HSL 55°, 97%, 35% — CMYK 0%, 8%, 98%, 31%.

What colors go with #AFA103?

Its complement is #0311B0; analogous partners are #B04B03 and #68B003. It also appears in 6+ palettes in our collection.

Can I use #AFA103 for text?

Black text on #AFA103 has a contrast ratio of 7.92:1 (passes WCAG AA); white text gives 2.65:1.