#AFE242

A medium, vivid green closely aligning with Yellowgreen.

About #AFE242

At its core, #AFE242 is a medium and vivid hue. Its closest recognized web color is Yellowgreen. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 226, and 66.

Translating this color to physical media requires the CMYK color model. The color uses 23% Cyan, 0% Magenta, 71% Yellow, and 11% Black. With a hue angle of 79.1 degrees, it sits comfortably in the green spectrum.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#AFE242
RGB175, 226, 66
HSL79.1°, 73.4%, 57.3%
CMYK23%, 0%, 71%, 11%
HSV79.1°, 70.8%, 88.6%
LAB83.9, -38.5, 68.8
XYZ45.9, 63.9, 15.1
Decimal11526722

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.52:1
Text on #FFFFFF
FAIL
13.78:1
Text on #000000
AAA
1.46:1
Text on #F8FAFC
FAIL
11.71:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Yellowgreen
#9ACD32