#508A2C
A dark, moderate green closely aligning with Olivedrab.
About #508A2C
When working with digital screens, the color #508A2C is rendered by mixing light. If you're using CSS, you might find it aligns closely with Olivedrab. To achieve this exact tint on a monitor, you would use an RGB mix of 80, 138, and 44.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 42% Cyan, 0% Magenta, 68% Yellow, and 46% Black. With a hue angle of 97.0 degrees, it sits comfortably in the green spectrum.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #000000 text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#508A2C
RGB80, 138, 44
HSL97.0°, 51.6%, 35.7%
CMYK42%, 0%, 68%, 46%
HSV97.0°, 68.1%, 54.1%
LAB51.9, -36.1, 42.8
XYZ12.9, 20.1, 5.6
Decimal5278252
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
4.19:1
Text on #FFFFFF
AA Large
5.01:1
Text on #000000
AA
4.00:1
Text on #F8FAFC
AA Large
4.26:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #508A2C;
}
.text-color {
color: #508A2C;
}
.border-color {
border: 2px solid #508A2C;
}