#7C8A2C
A dark, moderate yellow closely aligning with Olivedrab.
About #7C8A2C
At its core, #7C8A2C is a dark and moderate hue. If you're using CSS, you might find it aligns closely with Olivedrab. This translates to an RGB value of rgb(124, 138, 44).
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 10% Cyan, 0% Magenta, 68% Yellow, and 46% Black. This makes it a relatively light color when applied to physical surfaces.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. The calculated luminance score dictates that #000000 typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#7C8A2C
RGB124, 138, 44
HSL68.9°, 51.6%, 35.7%
CMYK10%, 0%, 68%, 46%
HSV68.9°, 68.1%, 54.1%
LAB54.7, -18.4, 46.6
XYZ17.9, 22.6, 5.8
Decimal8161836
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
3.80:1
Text on #FFFFFF
AA Large
5.53:1
Text on #000000
AA
3.63:1
Text on #F8FAFC
AA Large
4.70:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #7C8A2C;
}
.text-color {
color: #7C8A2C;
}
.border-color {
border: 2px solid #7C8A2C;
}