#40a21f Color Information

In a RGB color space, hex #40a21f is composed of 25.1% red, 63.5% green and 12.2% blue. Whereas in a CMYK color space, it is composed of 60.5% cyan, 0% magenta, 80.9% yellow and 36.5% black. It has a hue angle of 104.9 degrees, a saturation of 67.9% and a lightness of 37.8%. #40a21f color hex could be obtained by blending #80ff3e with #004500. Closest websafe color is: #339933.

    • R 25
    • G 64
    • B 12
    RGB color chart
    • C 60
    • M 0
    • Y 81
    • K 36
    CMYK color chart

#40a21f color description : Dark green.

#40a21f Color Conversion

The hexadecimal color #40a21f has RGB values of R:64, G:162, B:31 and CMYK values of C:0.6, M:0, Y:0.81, K:0.36. Its decimal value is 4235807.

Hex triplet 40a21f #40a21f
RGB Decimal 64, 162, 31 rgb(64,162,31)
RGB Percent 25.1, 63.5, 12.2 rgb(25.1%,63.5%,12.2%)
CMYK 60, 0, 81, 36
HSL 104.9°, 67.9, 37.8 hsl(104.9,67.9%,37.8%)
HSV (or HSB) 104.9°, 80.9, 63.5
Web Safe 339933 #339933
CIE-LAB 59.001, -51.398, 54.459
XYZ 15.281, 27.028, 5.708
xyY 0.318, 0.563, 27.028
CIE-LCH 59.001, 74.884, 133.344
CIE-LUV 59.001, -44.663, 66.926
Hunter-Lab 51.989, -38.513, 29.883
Binary 01000000, 10100010, 00011111

Color Schemes with #40a21f

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

Alternatives to #40a21f

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

Similar Colors

#40a21f Preview

Text with hexadecimal color #40a21f

This text has a font color of #40a21f.

<span style="color:#40a21f;">Text here</span>
#40a21f background color

This paragraph has a background color of #40a21f.

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

This element has a border color of #40a21f.

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

Shades and Tints of #40a21f

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

Shade Color Variation
Tint Color Variation

Tones of #40a21f

A tone is produced by adding gray to any pure hue. In this case, #5d675a is the less saturated color, while #31c001 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40a21f 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
  • #767676 Achromatopsia 0.005% of the population
  • #6b7f65 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #a59425 Protanopia 1% of men
  • #b68c38 Deuteranopia 1% of men
  • #669ca7 Tritanopia 0.001% of the population
Trichromacy
  • #809923 Protanomaly 1% of men, 0.01% of women
  • #8b942f Deuteranomaly 6% of men, 0.4% of women
  • #589e75 Tritanomaly 0.01% of the population