#5a7b21 Color Information

In a RGB color space, hex #5a7b21 is composed of 35.3% red, 48.2% green and 12.9% blue. Whereas in a CMYK color space, it is composed of 26.8% cyan, 0% magenta, 73.2% yellow and 51.8% black. It has a hue angle of 82 degrees, a saturation of 57.7% and a lightness of 30.6%. #5a7b21 color hex could be obtained by blending #b4f642 with #000000. Closest websafe color is: #666633.

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

#5a7b21 color description : Dark green.

#5a7b21 Color Conversion

The hexadecimal color #5a7b21 has RGB values of R:90, G:123, B:33 and CMYK values of C:0.27, M:0, Y:0.73, K:0.52. Its decimal value is 5929761.

Hex triplet 5a7b21 #5a7b21
RGB Decimal 90, 123, 33 rgb(90,123,33)
RGB Percent 35.3, 48.2, 12.9 rgb(35.3%,48.2%,12.9%)
CMYK 27, 0, 73, 52
HSL 82°, 57.7, 30.6 hsl(82,57.7%,30.6%)
HSV (or HSB) 82°, 73.2, 48.2
Web Safe 666633 #666633
CIE-LAB 47.558, -26.131, 43.075
XYZ 11.574, 16.449, 4.004
xyY 0.361, 0.514, 16.449
CIE-LCH 47.558, 50.382, 121.243
CIE-LUV 47.558, -16.435, 49.036
Hunter-Lab 40.557, -20.038, 22.537
Binary 01011010, 01111011, 00100001

Color Schemes with #5a7b21

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

Alternatives to #5a7b21

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

Similar Colors

#5a7b21 Preview

Text with hexadecimal color #5a7b21

This text has a font color of #5a7b21.

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

This paragraph has a background color of #5a7b21.

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

This element has a border color of #5a7b21.

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

Shades and Tints of #5a7b21

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

Shade Color Variation
Tint Color Variation

Tones of #5a7b21

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a7b21 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
  • #86782a Protanopia 1% of men
  • #947233 Deuteranopia 1% of men
  • #6e7982 Tritanopia 0.001% of the population
Trichromacy
  • #767926 Protanomaly 1% of men, 0.01% of women
  • #7f752c Deuteranomaly 6% of men, 0.4% of women
  • #677a5f Tritanomaly 0.01% of the population