#8A8A24

A dark, moderate yellow closely aligning with Olive.

About #8A8A24

Visually, #8A8A24 is defined as a moderate yellow. It is closely associated with the named CSS color Olive. In the RGB color space, it consists of 138 red, 138 green, and 36 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 0% C, 0% M, 74% Y, and 46% K. This makes it a relatively light color when applied to physical surfaces.

When using this color as a background, text legibility must be considered. 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#8A8A24
RGB138, 138, 36
HSL60.0°, 58.6%, 34.1%
CMYK0%, 0%, 74%, 46%
HSV60.0°, 73.9%, 54.1%
LAB55.8, -12.6, 51.2
XYZ19.9, 23.7, 5.2
Decimal9079332

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

3.66:1
Text on #FFFFFF
AA Large
5.74:1
Text on #000000
AA
3.50:1
Text on #F8FAFC
AA Large
4.88:1
Text on #0F172A
AA

CSS Implementation

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

Similar Colors

Olive
#808000