#AFAF42
A medium, moderate yellow closely aligning with Darkkhaki.
About #AFAF42
The hex code #AFAF42 represents a beautifully specific shade of yellow. If you're using CSS, you might find it aligns closely with Darkkhaki. Its digital footprint relies on 175 parts red, 175 parts green, and 66 parts blue light.
For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 0% cyan and 0% magenta inks. This makes it a relatively light color when applied to physical surfaces.
From a UX and accessibility standpoint, contrast is paramount. The calculated luminance score dictates that #000000 typography is the safest choice. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#AFAF42
RGB175, 175, 66
HSL60.0°, 45.2%, 47.3%
CMYK0%, 0%, 62%, 31%
HSV60.0°, 62.3%, 68.6%
LAB69.6, -14.0, 54.1
XYZ34.0, 40.2, 11.1
Decimal11513666
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.32:1
Text on #FFFFFF
FAIL
9.03:1
Text on #000000
AAA
2.22:1
Text on #F8FAFC
FAIL
7.68:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #AFAF42;
}
.text-color {
color: #AFAF42;
}
.border-color {
border: 2px solid #AFAF42;
}