#5a7e1f Color Information

In a RGB color space, hex #5a7e1f is composed of 35.3% red, 49.4% green and 12.2% blue. Whereas in a CMYK color space, it is composed of 28.6% cyan, 0% magenta, 75.4% yellow and 50.6% black. It has a hue angle of 82.7 degrees, a saturation of 60.5% and a lightness of 30.8%. #5a7e1f color hex could be obtained by blending #b4fc3e with #000000. Closest websafe color is: #666633.

    • R 35
    • G 49
    • B 12
    RGB color chart
    • C 29
    • M 0
    • Y 75
    • K 51
    CMYK color chart

#5a7e1f color description : Dark green.

#5a7e1f Color Conversion

The hexadecimal color #5a7e1f has RGB values of R:90, G:126, B:31 and CMYK values of C:0.29, M:0, Y:0.75, K:0.51. Its decimal value is 5930527.

Hex triplet 5a7e1f #5a7e1f
RGB Decimal 90, 126, 31 rgb(90,126,31)
RGB Percent 35.3, 49.4, 12.2 rgb(35.3%,49.4%,12.2%)
CMYK 29, 0, 75, 51
HSL 82.7°, 60.5, 30.8 hsl(82.7,60.5%,30.8%)
HSV (or HSB) 82.7°, 75.4, 49.4
Web Safe 666633 #666633
CIE-LAB 48.504, -27.728, 44.8
XYZ 11.924, 17.194, 3.987
xyY 0.36, 0.519, 17.194
CIE-LCH 48.504, 52.687, 121.754
CIE-LUV 48.504, -18.019, 50.953
Hunter-Lab 41.466, -21.233, 23.325
Binary 01011010, 01111110, 00011111

Color Schemes with #5a7e1f

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

Alternatives to #5a7e1f

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

Similar Colors

#5a7e1f Preview

Text with hexadecimal color #5a7e1f

This text has a font color of #5a7e1f.

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

This paragraph has a background color of #5a7e1f.

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

This element has a border color of #5a7e1f.

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

Shades and Tints of #5a7e1f

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, #000000 is the darkest color, while #f7fbef is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a7e1f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a7e1f 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
  • #686868 Achromatopsia 0.005% of the population
  • #656c59 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #887a28 Protanopia 1% of men
  • #977432 Deuteranopia 1% of men
  • #6f7c85 Tritanopia 0.001% of the population
Trichromacy
  • #777b24 Protanomaly 1% of men, 0.01% of women
  • #80782b Deuteranomaly 6% of men, 0.4% of women
  • #677c60 Tritanomaly 0.01% of the population