#AFC566
A medium, moderate yellow closely aligning with Darkkhaki.
About #AFC566
The precise color #AFC566 is an excellent choice for modern design projects. It is closely associated with the named CSS color Darkkhaki. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 197, and 102.
Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 11% cyan, 0% magenta, 48% yellow, and 23% black. With a hue angle of 73.9 degrees, it sits comfortably in the yellow spectrum.
Contrast ratios determine whether this color is safe for typography. 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#AFC566
RGB175, 197, 102
HSL73.9°, 45.0%, 58.6%
CMYK11%, 0%, 48%, 23%
HSV73.9°, 48.2%, 77.3%
LAB76.1, -22.0, 44.8
XYZ40.0, 50.0, 20.1
Decimal11519334
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.91:1
Text on #FFFFFF
FAIL
11.00:1
Text on #000000
AAA
1.82:1
Text on #F8FAFC
FAIL
9.35:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #AFC566;
}
.text-color {
color: #AFC566;
}
.border-color {
border: 2px solid #AFC566;
}