#AFB62C
A medium, moderate yellow closely aligning with Yellowgreen.
About #AFB62C
The hex code #AFB62C represents a beautifully specific shade of yellow. Its closest recognized web color is Yellowgreen. This translates to an RGB value of rgb(175, 182, 44).
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 4% Cyan, 0% Magenta, 76% Yellow, and 29% Black. The HSL representation is 63.0° hue, 61.1% saturation, and 44.3% lightness.
From a UX and accessibility standpoint, contrast is paramount. Because it is a medium color, it is generally recommended to use #000000 text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#AFB62C
RGB175, 182, 44
HSL63.0°, 61.1%, 44.3%
CMYK4%, 0%, 76%, 29%
HSV63.0°, 75.8%, 71.4%
LAB71.4, -18.8, 64.2
XYZ34.9, 42.8, 8.8
Decimal11515436
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.20:1
Text on #FFFFFF
FAIL
9.55:1
Text on #000000
AAA
2.10:1
Text on #F8FAFC
FAIL
8.12:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #AFB62C;
}
.text-color {
color: #AFB62C;
}
.border-color {
border: 2px solid #AFB62C;
}