#5F8A42
A medium, moderate green closely aligning with Darkolivegreen.
About #5F8A42
The hex code #5F8A42 represents a beautifully specific shade of green. Its closest recognized web color is Darkolivegreen. To achieve this exact tint on a monitor, you would use an RGB mix of 95, 138, and 66.
If you are designing for print, the four-color process is what matters most. To reproduce this shade on paper, a printer utilizes 31% cyan and 0% magenta inks. With a hue angle of 95.8 degrees, it sits comfortably in the green spectrum.
Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #000000 typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#5F8A42
RGB95, 138, 66
HSL95.8°, 35.3%, 40.0%
CMYK31%, 0%, 52%, 46%
HSV95.8°, 52.2%, 54.1%
LAB53.0, -28.3, 33.6
XYZ14.8, 21.0, 8.4
Decimal6261314
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
4.04:1
Text on #FFFFFF
AA Large
5.20:1
Text on #000000
AA
3.86:1
Text on #F8FAFC
AA Large
4.42:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #5F8A42;
}
.text-color {
color: #5F8A42;
}
.border-color {
border: 2px solid #5F8A42;
}