#5a7a21 Color Information

In a RGB color space, hex #5a7a21 is composed of 35.3% red, 47.8% green and 12.9% blue. Whereas in a CMYK color space, it is composed of 26.2% cyan, 0% magenta, 73% yellow and 52.2% black. It has a hue angle of 81.6 degrees, a saturation of 57.4% and a lightness of 30.4%. #5a7a21 color hex could be obtained by blending #b4f442 with #000000. Closest websafe color is: #666633.

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

#5a7a21 color description : Dark green.

#5a7a21 Color Conversion

The hexadecimal color #5a7a21 has RGB values of R:90, G:122, B:33 and CMYK values of C:0.26, M:0, Y:0.73, K:0.52. Its decimal value is 5929505.

Hex triplet 5a7a21 #5a7a21
RGB Decimal 90, 122, 33 rgb(90,122,33)
RGB Percent 35.3, 47.8, 12.9 rgb(35.3%,47.8%,12.9%)
CMYK 26, 0, 73, 52
HSL 81.6°, 57.4, 30.4 hsl(81.6,57.4%,30.4%)
HSV (or HSB) 81.6°, 73, 47.8
Web Safe 666633 #666633
CIE-LAB 47.239, -25.638, 42.753
XYZ 11.45, 16.202, 3.963
xyY 0.362, 0.512, 16.202
CIE-LCH 47.239, 49.851, 120.951
CIE-LUV 47.239, -15.903, 48.572
Hunter-Lab 40.252, -19.664, 22.339
Binary 01011010, 01111010, 00100001

Color Schemes with #5a7a21

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

Alternatives to #5a7a21

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

Similar Colors

#5a7a21 Preview

Text with hexadecimal color #5a7a21

This text has a font color of #5a7a21.

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

This paragraph has a background color of #5a7a21.

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

This element has a border color of #5a7a21.

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

Shades and Tints of #5a7a21

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 #5a7a21

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a7a21 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.

  • #666666 Achromatopsia 0.005% of the population
  • #646a58 Atypical Achromatopsia 0.001% of the population
  • #85772a Protanopia 1% of men
  • #937133 Deuteranopia 1% of men
  • #6e7881 Tritanopia 0.001% of the population
  • #757826 Protanomaly 1% of men, 0.01% of women
  • #7e742c Deuteranomaly 6% of men, 0.4% of women
  • #67795e Tritanomaly 0.01% of the population