#5a7b20 Color Information

In a RGB color space, hex #5a7b20 is composed of 35.3% red, 48.2% green and 12.5% blue. Whereas in a CMYK color space, it is composed of 26.8% cyan, 0% magenta, 74% yellow and 51.8% black. It has a hue angle of 81.8 degrees, a saturation of 58.7% and a lightness of 30.4%. #5a7b20 color hex could be obtained by blending #b4f640 with #000000. Closest websafe color is: #666633.

    • R 35
    • G 48
    • B 13
    RGB color chart
    • C 27
    • M 0
    • Y 74
    • K 52
    CMYK color chart

#5a7b20 color description : Dark green.

#5a7b20 Color Conversion

The hexadecimal color #5a7b20 has RGB values of R:90, G:123, B:32 and CMYK values of C:0.27, M:0, Y:0.74, K:0.52. Its decimal value is 5929760.

Hex triplet 5a7b20 #5a7b20
RGB Decimal 90, 123, 32 rgb(90,123,32)
RGB Percent 35.3, 48.2, 12.5 rgb(35.3%,48.2%,12.5%)
CMYK 27, 0, 74, 52
HSL 81.8°, 58.7, 30.4 hsl(81.8,58.7%,30.4%)
HSV (or HSB) 81.8°, 74, 48.2
Web Safe 666633 #666633
CIE-LAB 47.551, -26.199, 43.468
XYZ 11.56, 16.444, 3.931
xyY 0.362, 0.515, 16.444
CIE-LCH 47.551, 50.753, 121.079
CIE-LUV 47.551, -16.435, 49.31
Hunter-Lab 40.551, -20.078, 22.637
Binary 01011010, 01111011, 00100000

Color Schemes with #5a7b20

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

Alternatives to #5a7b20

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

Similar Colors

#5a7b20 Preview

Text with hexadecimal color #5a7b20

This text has a font color of #5a7b20.

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

This paragraph has a background color of #5a7b20.

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

This element has a border color of #5a7b20.

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

Shades and Tints of #5a7b20

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, #0a0e04 is the darkest color, while #fefffd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a7b20

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a7b20 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
  • #676767 Achromatopsia 0.005% of the population
  • #646b59 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #867829 Protanopia 1% of men
  • #947232 Deuteranopia 1% of men
  • #6e7982 Tritanopia 0.001% of the population
Trichromacy
  • #767925 Protanomaly 1% of men, 0.01% of women
  • #7f752b Deuteranomaly 6% of men, 0.4% of women
  • #677a5e Tritanomaly 0.01% of the population