#AFAF50

A medium, moderate yellow closely aligning with Darkkhaki.

About #AFAF50

At its core, #AFAF50 is a medium and moderate hue. Its closest recognized web color is Darkkhaki. Its digital footprint relies on 175 parts red, 175 parts green, and 80 parts blue light.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 0% cyan and 0% magenta inks. The HSL representation is 60.0° hue, 37.3% saturation, and 50.0% lightness.

Ensuring your text is legible against this background is a key part of web design. 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#AFAF50
RGB175, 175, 80
HSL60.0°, 37.3%, 50.0%
CMYK0%, 0%, 54%, 31%
HSV60.0°, 54.3%, 68.6%
LAB69.7, -13.0, 47.9
XYZ34.5, 40.4, 13.6
Decimal11513680

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

2.32:1
Text on #FFFFFF
FAIL
9.07:1
Text on #000000
AAA
2.21:1
Text on #F8FAFC
FAIL
7.71:1
Text on #0F172A
AAA

CSS Implementation

.bg-color { background-color: #AFAF50; }
.text-color { color: #AFAF50; }
.border-color { border: 2px solid #AFAF50; }

Similar Colors

Darkkhaki
#BDB76B