#AFD31D
A medium, vivid yellow closely aligning with Yellowgreen.
About #AFD31D
At its core, #AFD31D 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, 211, and 29.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 17% Cyan, 0% Magenta, 86% Yellow, and 17% Black. With a hue angle of 71.9 degrees, it sits comfortably in the yellow spectrum.
From a UX and accessibility standpoint, contrast is paramount. 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#AFD31D
RGB175, 211, 29
HSL71.9°, 75.8%, 47.1%
CMYK17%, 0%, 86%, 17%
HSV71.9°, 86.3%, 82.7%
LAB79.5, -33.2, 75.1
XYZ41.2, 55.8, 9.8
Decimal11522845
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.73:1
Text on #FFFFFF
FAIL
12.16:1
Text on #000000
AAA
1.65:1
Text on #F8FAFC
FAIL
10.34:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #AFD31D;
}
.text-color {
color: #AFD31D;
}
.border-color {
border: 2px solid #AFD31D;
}