#AFA800

A dark, vivid yellow closely aligning with Olive.

About #AFA800

At its core, #AFA800 is a dark and vivid hue. It is closely associated with the named CSS color Olive. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 168, and 0.

For print applications, it's crucial to understand its CMYK makeup. This specific hue requires a mix of 0% C, 4% M, 100% Y, and 31% K. This makes it a relatively light color when applied to physical surfaces.

Contrast ratios determine whether this color is safe for typography. The calculated luminance score dictates that #000000 typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#AFA800
RGB175, 168, 0
HSL57.6°, 100.0%, 34.3%
CMYK0%, 4%, 100%, 31%
HSV57.6°, 100.0%, 68.6%
LAB67.4, -12.7, 69.8
XYZ31.7, 37.1, 5.5
Decimal11511808

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

2.49:1
Text on #FFFFFF
FAIL
8.42:1
Text on #000000
AAA
2.38:1
Text on #F8FAFC
FAIL
7.16:1
Text on #0F172A
AAA

CSS Implementation

.bg-color { background-color: #AFA800; }
.text-color { color: #AFA800; }
.border-color { border: 2px solid #AFA800; }

Similar Colors

Olive
#808000