#5a7a1f Color Information

In a RGB color space, hex #5a7a1f is composed of 35.3% red, 47.8% green and 12.2% blue. Whereas in a CMYK color space, it is composed of 26.2% cyan, 0% magenta, 74.6% yellow and 52.2% black. It has a hue angle of 81.1 degrees, a saturation of 59.5% and a lightness of 30%. #5a7a1f color hex could be obtained by blending #b4f43e with #000000. Closest websafe color is: #666633.

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

#5a7a1f color description : Dark green.

#5a7a1f Color Conversion

The hexadecimal color #5a7a1f has RGB values of R:90, G:122, B:31 and CMYK values of C:0.26, M:0, Y:0.75, K:0.52. Its decimal value is 5929503.

Hex triplet 5a7a1f #5a7a1f
RGB Decimal 90, 122, 31 rgb(90,122,31)
RGB Percent 35.3, 47.8, 12.2 rgb(35.3%,47.8%,12.2%)
CMYK 26, 0, 75, 52
HSL 81.1°, 59.5, 30 hsl(81.1,59.5%,30%)
HSV (or HSB) 81.1°, 74.6, 47.8
Web Safe 666633 #666633
CIE-LAB 47.225, -25.773, 43.536
XYZ 11.423, 16.191, 3.82
xyY 0.363, 0.515, 16.191
CIE-LCH 47.225, 50.593, 120.625
CIE-LUV 47.225, -15.903, 49.115
Hunter-Lab 40.239, -19.744, 22.539
Binary 01011010, 01111010, 00011111

Color Schemes with #5a7a1f

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

Alternatives to #5a7a1f

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

Similar Colors

#5a7a1f Preview

Text with hexadecimal color #5a7a1f

This text has a font color of #5a7a1f.

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

This paragraph has a background color of #5a7a1f.

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

This element has a border color of #5a7a1f.

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

Shades and Tints of #5a7a1f

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, #090d03 is the darkest color, while #fdfefc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a7a1f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a7a1f 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
  • #666666 Achromatopsia 0.005% of the population
  • #646a58 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #857728 Protanopia 1% of men
  • #937131 Deuteranopia 1% of men
  • #6e7881 Tritanopia 0.001% of the population
Trichromacy
  • #757824 Protanomaly 1% of men, 0.01% of women
  • #7e742a Deuteranomaly 6% of men, 0.4% of women
  • #67795d Tritanomaly 0.01% of the population