#AFAF1D

A medium, vivid yellow closely aligning with Olive.

About #AFAF1D

The hex code #AFAF1D represents a beautifully specific shade of yellow. It is closely associated with the named CSS color Olive. This translates to an RGB value of rgb(175, 175, 29).

Translating this color to physical media requires the CMYK color model. The color uses 0% Cyan, 0% Magenta, 83% Yellow, and 31% Black. This makes it a relatively light color when applied to physical surfaces.

Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #000000 typography is the safest choice. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#AFAF1D
RGB175, 175, 29
HSL60.0°, 71.6%, 40.0%
CMYK0%, 0%, 83%, 31%
HSV60.0°, 83.4%, 68.6%
LAB69.4, -15.7, 66.7
XYZ33.2, 39.9, 7.1
Decimal11513629

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

2.34:1
Text on #FFFFFF
FAIL
8.97:1
Text on #000000
AAA
2.24:1
Text on #F8FAFC
FAIL
7.63:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Olive
#808000