#5a7f40 Color Information

In a RGB color space, hex #5a7f40 is composed of 35.3% red, 49.8% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 29.1% cyan, 0% magenta, 49.6% yellow and 50.2% black. It has a hue angle of 95.2 degrees, a saturation of 33% and a lightness of 37.5%. #5a7f40 color hex could be obtained by blending #b4fe80 with #000000. Closest websafe color is: #666633.

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

#5a7f40 color description : Dark moderate green.

#5a7f40 Color Conversion

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

Hex triplet 5a7f40 #5a7f40
RGB Decimal 90, 127, 64 rgb(90,127,64)
RGB Percent 35.3, 49.8, 25.1 rgb(35.3%,49.8%,25.1%)
CMYK 29, 0, 50, 50
HSL 95.2°, 33, 37.5 hsl(95.2,33%,37.5%)
HSV (or HSB) 95.2°, 49.6, 49.8
Web Safe 666633 #666633
CIE-LAB 49.157, -25.026, 29.993
XYZ 12.731, 17.722, 7.6
xyY 0.335, 0.466, 17.722
CIE-LCH 49.157, 39.062, 129.842
CIE-LUV 49.157, -18.445, 38.932
Hunter-Lab 42.098, -19.69, 18.764
Binary 01011010, 01111111, 01000000

Color Schemes with #5a7f40

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

Alternatives to #5a7f40

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

Similar Colors

#5a7f40 Preview

Text with hexadecimal color #5a7f40

This text has a font color of #5a7f40.

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

This paragraph has a background color of #5a7f40.

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

This element has a border color of #5a7f40.

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

Shades and Tints of #5a7f40

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, #070a05 is the darkest color, while #fcfdfc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a7f40

A tone is produced by adding gray to any pure hue. In this case, #5f625d is the less saturated color, while #50ba05 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a7f40 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
  • #877c46 Protanopia 1% of men
  • #94764f Deuteranopia 1% of men
  • #6d7e87 Tritanopia 0.001% of the population
Trichromacy
  • #777d44 Protanomaly 1% of men, 0.01% of women
  • #7f7949 Deuteranomaly 6% of men, 0.4% of women
  • #667e6d Tritanomaly 0.01% of the population