#5a7f1f Color Information

In a RGB color space, hex #5a7f1f is composed of 35.3% red, 49.8% green and 12.2% blue. Whereas in a CMYK color space, it is composed of 29.1% cyan, 0% magenta, 75.6% yellow and 50.2% black. It has a hue angle of 83.1 degrees, a saturation of 60.8% and a lightness of 31%. #5a7f1f color hex could be obtained by blending #b4fe3e with #000000. Closest websafe color is: #666633.

    • R 35
    • G 50
    • B 12
    RGB color chart
    • C 29
    • M 0
    • Y 76
    • K 50
    CMYK color chart

#5a7f1f color description : Dark green.

#5a7f1f Color Conversion

The hexadecimal color #5a7f1f has RGB values of R:90, G:127, B:31 and CMYK values of C:0.29, M:0, Y:0.76, K:0.5. Its decimal value is 5930783.

Hex triplet 5a7f1f #5a7f1f
RGB Decimal 90, 127, 31 rgb(90,127,31)
RGB Percent 35.3, 49.8, 12.2 rgb(35.3%,49.8%,12.2%)
CMYK 29, 0, 76, 50
HSL 83.1°, 60.8, 31 hsl(83.1,60.8%,31%)
HSV (or HSB) 83.1°, 75.6, 49.8
Web Safe 666633 #666633
CIE-LAB 48.823, -28.21, 45.115
XYZ 12.053, 17.451, 4.03
xyY 0.359, 0.52, 17.451
CIE-LCH 48.823, 53.209, 122.018
CIE-LUV 48.823, -18.541, 51.411
Hunter-Lab 41.774, -21.604, 23.523
Binary 01011010, 01111111, 00011111

Color Schemes with #5a7f1f

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

Alternatives to #5a7f1f

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

Similar Colors

#5a7f1f Preview

Text with hexadecimal color #5a7f1f

This text has a font color of #5a7f1f.

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

This paragraph has a background color of #5a7f1f.

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

This element has a border color of #5a7f1f.

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

Shades and Tints of #5a7f1f

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

Shade Color Variation
Tint Color Variation

Tones of #5a7f1f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a7f1f 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
  • #696969 Achromatopsia 0.005% of the population
  • #666d5a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #897b27 Protanopia 1% of men
  • #987532 Deuteranopia 1% of men
  • #6f7d86 Tritanopia 0.001% of the population
Trichromacy
  • #787c24 Protanomaly 1% of men, 0.01% of women
  • #81782b Deuteranomaly 6% of men, 0.4% of women
  • #677d60 Tritanomaly 0.01% of the population