#5A6142 color

#5A6142 rgb(90, 97, 66)
Shades of green

The hex color #5A6142 is a dark, grayish yellow-green.

In the RGB color model it is made of 35.3% red, 38% green and 25.9% blue (90, 97, 66).

Its hue angle is 74°, with 19% saturation and 32% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 32% yellow and 62% black.

The closest named color is Cypress (#585D40), a difference of 1.6 ΔE, which is barely visible.

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

#5A6142 color codes

HEX#5A6142
RGBrgb(90, 97, 66)
RGB percentrgb(35.3%, 38%, 25.9%)
HSLhsl(74, 19%, 32%)
HSV / HSBhsv(74, 32%, 38%)
CMYKcmyk(7%, 0%, 32%, 62%)
CIE LABlab(39.78, -8.58, 16.82)
CIE LCHlch(39.78, 18.88, 117.03)
CIE XYZxyz(9.474, 11.116, 6.8)
Decimal5923138
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5A6142, 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 #5A6142RatioAAAAAAA large
Sample text3.22:1FailFailPass
Sample text6.52:1PassFailPass
#5A6142 as text onRatioAAAAAAA large
Sample text6.52:1PassFailPass
Sample text3.22:1FailFailPass

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 #5A6142 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5a6142; }
.text { color: #5a6142; }
.border { border: 2px solid #5a6142; }
.transparent { background-color: rgb(90 97 66 / 50%); }
.gradient { background: linear-gradient(to right, #5a6142, #4b6142); }
Background
Text color
Border

Similar colors

Closest common color name: Ebony.

Questions

What color is #5A6142?
#5A6142 is a dark, grayish yellow-green, closest to the named color Cypress. It belongs to the green family of colors.
What is the RGB value of #5A6142?
The RGB value is 90, 97, 66: 90 red, 97 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #5A6142?
The complementary color is #494261, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5A6142?
White text. Black text has a contrast ratio of 3.22:1 and white text 6.52:1. WCAG asks for at least 4.5:1 for normal text.