#5F7E2B color

#5F7E2B rgb(95, 126, 43)
Shades of green

The hex color #5F7E2B is a dark, desaturated yellow-green.

In the RGB color model it is made of 37.3% red, 49.4% green and 16.9% blue (95, 126, 43).

Its hue angle is 82°, with 49% saturation and 33% lightness. For print, the CMYK equivalent is 25% cyan, 0% magenta, 66% yellow and 51% black.

The closest named color is Enchanted Forest (#5C821A), a difference of 2.8 ΔE, a small difference.

White text is the more readable choice on this background (contrast 4.66:1).

#5F7E2B color codes

HEX#5F7E2B
RGBrgb(95, 126, 43)
RGB percentrgb(37.3%, 49.4%, 16.9%)
HSLhsl(82, 49%, 33%)
HSV / HSBhsv(82, 66%, 49%)
CMYKcmyk(25%, 0%, 66%, 51%)
CIE LABlab(48.92, -24.77, 40.29)
CIE LCHlch(48.92, 47.3, 121.58)
CIE XYZxyz(12.616, 17.529, 5.004)
Decimal6258219
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5F7E2B, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #5F7E2BRatioAAAAAAA large
Sample text4.51:1PassFailPass
Sample text4.66:1PassFailPass
#5F7E2B as text onRatioAAAAAAA large
Sample text4.66:1PassFailPass
Sample text4.51:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #5F7E2B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5f7e2b; }
.text { color: #5f7e2b; }
.border { border: 2px solid #5f7e2b; }
.transparent { background-color: rgb(95 126 43 / 50%); }
.gradient { background: linear-gradient(to right, #5f7e2b, #357e2b); }
Background
Text color
Border

Similar colors

Questions

What color is #5F7E2B?
#5F7E2B is a dark, desaturated yellow-green, closest to the named color Enchanted Forest. It belongs to the green family of colors.
What is the RGB value of #5F7E2B?
The RGB value is 95, 126, 43: 95 red, 126 green and 43 blue on a 0 to 255 scale.
What is the complementary color of #5F7E2B?
The complementary color is #4A2B7E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5F7E2B?
White text. Black text has a contrast ratio of 4.51:1 and white text 4.66:1. WCAG asks for at least 4.5:1 for normal text.