#AFA01D

A medium, vivid yellow closely aligning with Olive.

About #AFA01D

At its core, #AFA01D is a medium and vivid hue. It is closely associated with the named CSS color Olive. In the RGB color space, it consists of 175 red, 160 green, and 29 blue.

When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 0% C, 9% M, 83% Y, and 31% K. The HSL representation is 53.8° hue, 71.6% saturation, and 40.0% lightness.

Contrast ratios determine whether this color is safe for typography. Because it is a medium color, it is generally recommended to use #000000 text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#AFA01D
RGB175, 160, 29
HSL53.8°, 71.6%, 40.0%
CMYK0%, 9%, 83%, 31%
HSV53.8°, 83.4%, 68.6%
LAB65.2, -7.9, 63.2
XYZ30.5, 34.3, 6.2
Decimal11509789

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

2.67:1
Text on #FFFFFF
FAIL
7.87:1
Text on #000000
AAA
2.55:1
Text on #F8FAFC
FAIL
6.69:1
Text on #0F172A
AA

CSS Implementation

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

Similar Colors

Olive
#808000