#8A8A16

A dark, vivid yellow closely aligning with Olive.

About #8A8A16

The hex code #8A8A16 represents a beautifully specific shade of yellow. If you're using CSS, you might find it aligns closely with Olive. To achieve this exact tint on a monitor, you would use an RGB mix of 138, 138, and 22.

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. This makes it a relatively light color when applied to physical surfaces.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#8A8A16
RGB138, 138, 22
HSL60.0°, 72.5%, 31.4%
CMYK0%, 0%, 84%, 46%
HSV60.0°, 84.1%, 54.1%
LAB55.7, -13.2, 55.6
XYZ19.7, 23.6, 4.3
Decimal9079318

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

3.67:1
Text on #FFFFFF
AA Large
5.73:1
Text on #000000
AA
3.50:1
Text on #F8FAFC
AA Large
4.87:1
Text on #0F172A
AA

CSS Implementation

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

Similar Colors

Olive
#808000