#5a7f42 Color Information

In a RGB color space, hex #5a7f42 is composed of 35.3% red, 49.8% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 29.1% cyan, 0% magenta, 48% yellow and 50.2% black. It has a hue angle of 96.4 degrees, a saturation of 31.6% and a lightness of 37.8%. #5a7f42 color hex could be obtained by blending #b4fe84 with #000000. Closest websafe color is: #666633.

    • R 35
    • G 50
    • B 26
    RGB color chart
    • C 29
    • M 0
    • Y 48
    • K 50
    CMYK color chart

#5a7f42 color description : Dark moderate green.

#5a7f42 Color Conversion

The hexadecimal color #5a7f42 has RGB values of R:90, G:127, B:66 and CMYK values of C:0.29, M:0, Y:0.48, K:0.5. Its decimal value is 5930818.

Hex triplet 5a7f42 #5a7f42
RGB Decimal 90, 127, 66 rgb(90,127,66)
RGB Percent 35.3, 49.8, 25.9 rgb(35.3%,49.8%,25.9%)
CMYK 29, 0, 48, 50
HSL 96.4°, 31.6, 37.8 hsl(96.4,31.6%,37.8%)
HSV (or HSB) 96.4°, 48, 49.8
Web Safe 666633 #666633
CIE-LAB 49.186, -24.761, 28.954
XYZ 12.789, 17.745, 7.905
xyY 0.333, 0.462, 17.745
CIE-LCH 49.186, 38.097, 130.536
CIE-LUV 49.186, -18.438, 37.918
Hunter-Lab 42.125, -19.528, 18.361
Binary 01011010, 01111111, 01000010

Color Schemes with #5a7f42

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #5a7f42

Below, you can see some colors close to #5a7f42. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#5a7f42 Preview

Text with hexadecimal color #5a7f42

This text has a font color of #5a7f42.

<span style="color:#5a7f42;">Text here</span>
#5a7f42 background color

This paragraph has a background color of #5a7f42.

<p style="background-color:#5a7f42;">Content here</p>
#5a7f42 border color

This element has a border color of #5a7f42.

<div style="border:1px solid #5a7f42;">Content here</div>
CSS codes
.text {color:#5a7f42;}
.background {background-color:#5a7f42;}
.border {border:1px solid #5a7f42;}

Shades and Tints of #5a7f42

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #080b06 is the darkest color, while #fdfefd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a7f42

A tone is produced by adding gray to any pure hue. In this case, #606160 is the less saturated color, while #4dba07 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a7f42 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #6d6d6d Achromatopsia 0.005% of the population
  • #697164 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #877c48 Protanopia 1% of men
  • #947650 Deuteranopia 1% of men
  • #6d7e87 Tritanopia 0.001% of the population
Trichromacy
  • #777d46 Protanomaly 1% of men, 0.01% of women
  • #7f794b Deuteranomaly 6% of men, 0.4% of women
  • #667e6e Tritanomaly 0.01% of the population