#AFD342

A medium, moderate yellow closely aligning with Yellowgreen.

About #AFD342

The precise color #AFD342 is an excellent choice for modern design projects. It is closely associated with the named CSS color Yellowgreen. Its digital footprint relies on 175 parts red, 211 parts green, and 66 parts blue light.

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

When using this color as a background, text legibility must be considered. 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#AFD342
RGB175, 211, 66
HSL74.9°, 62.2%, 54.3%
CMYK17%, 0%, 69%, 17%
HSV74.9°, 68.7%, 82.7%
LAB79.7, -31.7, 64.6
XYZ42.0, 56.1, 13.8
Decimal11522882

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.72:1
Text on #FFFFFF
FAIL
12.22:1
Text on #000000
AAA
1.64:1
Text on #F8FAFC
FAIL
10.39:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Yellowgreen
#9ACD32