#AFA807

A dark, vivid yellow closely aligning with Olive.

About #AFA807

When working with digital screens, the color #AFA807 is rendered by mixing light. Designers often compare it to the standard color Olive. Its digital footprint relies on 175 parts red, 168 parts green, and 7 parts blue light.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 0% cyan, 4% magenta, 96% yellow, and 31% black. This makes it a relatively light color when applied to physical surfaces.

Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #000000 text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#AFA807
RGB175, 168, 7
HSL57.5°, 92.3%, 35.7%
CMYK0%, 4%, 96%, 31%
HSV57.5°, 96.0%, 68.6%
LAB67.4, -12.6, 69.0
XYZ31.7, 37.1, 5.7
Decimal11511815

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

2.49:1
Text on #FFFFFF
FAIL
8.43:1
Text on #000000
AAA
2.38:1
Text on #F8FAFC
FAIL
7.16:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Olive
#808000