#5f7a1f Color Information

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

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

#5f7a1f color description : Dark green.

#5f7a1f Color Conversion

The hexadecimal color #5f7a1f has RGB values of R:95, G:122, B:31 and CMYK values of C:0.22, M:0, Y:0.75, K:0.52. Its decimal value is 6257183.

Hex triplet 5f7a1f #5f7a1f
RGB Decimal 95, 122, 31 rgb(95,122,31)
RGB Percent 37.3, 47.8, 12.2 rgb(37.3%,47.8%,12.2%)
CMYK 22, 0, 75, 52
HSL 77.8°, 59.5, 30 hsl(77.8,59.5%,30%)
HSV (or HSB) 77.8°, 74.6, 47.8
Web Safe 666633 #666633
CIE-LAB 47.56, -23.651, 43.981
XYZ 11.926, 16.451, 3.843
xyY 0.37, 0.511, 16.451
CIE-LCH 47.56, 49.937, 118.269
CIE-LUV 47.56, -13.169, 49.204
Hunter-Lab 40.559, -18.493, 22.774
Binary 01011111, 01111010, 00011111

Color Schemes with #5f7a1f

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

Alternatives to #5f7a1f

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

Similar Colors

#5f7a1f Preview

Text with hexadecimal color #5f7a1f

This text has a font color of #5f7a1f.

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

This paragraph has a background color of #5f7a1f.

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

This element has a border color of #5f7a1f.

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

Shades and Tints of #5f7a1f

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

Shade Color Variation
Tint Color Variation

Tones of #5f7a1f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f7a1f 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
  • #666c59 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #867828 Protanopia 1% of men
  • #947231 Deuteranopia 1% of men
  • #727881 Tritanopia 0.001% of the population
Trichromacy
  • #777924 Protanomaly 1% of men, 0.01% of women
  • #81752a Deuteranomaly 6% of men, 0.4% of women
  • #6b795d Tritanomaly 0.01% of the population