#5A873F color

#5A873F rgb(90, 135, 63)
Shades of green

The hex color #5A873F is a desaturated green.

In the RGB color model it is made of 35.3% red, 52.9% green and 24.7% blue (90, 135, 63).

Its hue angle is 98°, with 36% saturation and 39% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 53% yellow and 47% black.

The closest named color is Shepherd’s Green (#5A8643), a difference of 1 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 4.97:1).

#5A873F color codes

HEX#5A873F
RGBrgb(90, 135, 63)
RGB percentrgb(35.3%, 52.9%, 24.7%)
HSLhsl(98, 36%, 39%)
HSV / HSBhsv(98, 53%, 53%)
CMYKcmyk(33%, 0%, 53%, 47%)
CIE LABlab(51.68, -29.07, 33.59)
CIE LCHlch(51.68, 44.42, 130.87)
CIE XYZxyz(13.777, 19.86, 7.809)
Decimal5932863
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5A873F, 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 #5A873FRatioAAAAAAA large
Sample text4.97:1PassFailPass
Sample text4.22:1FailFailPass
#5A873F as text onRatioAAAAAAA large
Sample text4.22:1FailFailPass
Sample text4.97: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 #5A873F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5a873f; }
.text { color: #5a873f; }
.border { border: 2px solid #5a873f; }
.transparent { background-color: rgb(90 135 63 / 50%); }
.gradient { background: linear-gradient(to right, #5a873f, #3f8748); }
Background
Text color
Border

Similar colors

Closest common color name: Basil.

Questions

What color is #5A873F?
#5A873F is a desaturated green, closest to the named color Shepherd’s Green. It belongs to the green family of colors.
What is the RGB value of #5A873F?
The RGB value is 90, 135, 63: 90 red, 135 green and 63 blue on a 0 to 255 scale.
What is the complementary color of #5A873F?
The complementary color is #6C3F87, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5A873F?
Black text. Black text has a contrast ratio of 4.97:1 and white text 4.22:1. WCAG asks for at least 4.5:1 for normal text.