#AFB65F
A medium, moderate yellow closely aligning with Darkkhaki.
About #AFB65F
The hex code #AFB65F represents a beautifully specific shade of yellow. It is closely associated with the named CSS color Darkkhaki. Its digital footprint relies on 175 parts red, 182 parts green, and 95 parts blue light.
For print applications, it's crucial to understand its CMYK makeup. Its ink density profile breaks down to 4% cyan, 0% magenta, 48% yellow, and 29% black. The HSL representation is 64.8° hue, 37.3% saturation, and 54.3% lightness.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. 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#AFB65F
RGB175, 182, 95
HSL64.8°, 37.3%, 54.3%
CMYK4%, 0%, 48%, 29%
HSV64.8°, 47.8%, 71.4%
LAB71.8, -15.2, 43.1
XYZ36.5, 43.4, 17.3
Decimal11515487
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.17:1
Text on #FFFFFF
FAIL
9.68:1
Text on #000000
AAA
2.07:1
Text on #F8FAFC
FAIL
8.23:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #AFB65F;
}
.text-color {
color: #AFB65F;
}
.border-color {
border: 2px solid #AFB65F;
}