#A8A842

A medium, moderate yellow closely aligning with Darkkhaki.

About #A8A842

The hex code #A8A842 represents a beautifully specific shade of yellow. If you're using CSS, you might find it aligns closely with Darkkhaki. Its digital footprint relies on 168 parts red, 168 parts green, and 66 parts blue light.

Translating this color to physical media requires the CMYK color model. The color uses 0% Cyan, 0% Magenta, 61% Yellow, and 34% Black. With a hue angle of 60.0 degrees, it sits comfortably in the yellow spectrum.

When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #000000 typography is the safest choice. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#A8A842
RGB168, 168, 66
HSL60.0°, 43.6%, 45.9%
CMYK0%, 0%, 61%, 34%
HSV60.0°, 60.7%, 65.9%
LAB67.1, -13.4, 51.2
XYZ31.1, 36.7, 10.6
Decimal11053122

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

2.52:1
Text on #FFFFFF
FAIL
8.34:1
Text on #000000
AAA
2.41:1
Text on #F8FAFC
FAIL
7.09:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Darkkhaki
#BDB76B