#AFE257
A light, vivid green closely aligning with Yellowgreen.
About #AFE257
The precise color #AFE257 is an excellent choice for modern design projects. If you're using CSS, you might find it aligns closely with Yellowgreen. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 226, and 87.
For print applications, it's crucial to understand its CMYK makeup. The color uses 23% Cyan, 0% Magenta, 62% Yellow, and 11% Black. The HSL representation is 82.0° hue, 70.6% saturation, and 61.4% lightness.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #000000 text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#AFE257
RGB175, 226, 87
HSL82.0°, 70.6%, 61.4%
CMYK23%, 0%, 62%, 11%
HSV82.0°, 61.5%, 88.6%
LAB84.1, -37.1, 60.9
XYZ46.6, 64.2, 19.0
Decimal11526743
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.52:1
Text on #FFFFFF
FAIL
13.84:1
Text on #000000
AAA
1.45:1
Text on #F8FAFC
FAIL
11.76:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #AFE257;
}
.text-color {
color: #AFE257;
}
.border-color {
border: 2px solid #AFE257;
}