#5a5f40 Color Information

In a RGB color space, hex #5a5f40 is composed of 35.3% red, 37.3% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 5.3% cyan, 0% magenta, 32.6% yellow and 62.7% black. It has a hue angle of 69.7 degrees, a saturation of 19.5% and a lightness of 31.2%. #5a5f40 color hex could be obtained by blending #b4be80 with #000000. Closest websafe color is: #666633.

    • R 35
    • G 37
    • B 25
    RGB color chart
    • C 5
    • M 0
    • Y 33
    • K 63
    CMYK color chart

#5a5f40 color description : Very dark grayish yellow.

#5a5f40 Color Conversion

The hexadecimal color #5a5f40 has RGB values of R:90, G:95, B:64 and CMYK values of C:0.05, M:0, Y:0.33, K:0.63. Its decimal value is 5922624.

Hex triplet 5a5f40 #5a5f40
RGB Decimal 90, 95, 64 rgb(90,95,64)
RGB Percent 35.3, 37.3, 25.1 rgb(35.3%,37.3%,25.1%)
CMYK 5, 0, 33, 63
HSL 69.7°, 19.5, 31.2 hsl(69.7,19.5%,31.2%)
HSV (or HSB) 69.7°, 32.6, 37.3
Web Safe 666633 #666633
CIE-LAB 39.119, -7.728, 17.131
XYZ 9.234, 10.728, 6.435
xyY 0.35, 0.406, 10.728
CIE-LCH 39.119, 18.793, 114.28
CIE-LUV 39.119, -1.469, 20.997
Hunter-Lab 32.754, -6.997, 11.28
Binary 01011010, 01011111, 01000000

Color Schemes with #5a5f40

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

Alternatives to #5a5f40

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

Similar Colors

#5a5f40 Preview

Text with hexadecimal color #5a5f40

This text has a font color of #5a5f40.

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

This paragraph has a background color of #5a5f40.

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

This element has a border color of #5a5f40.

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

Shades and Tints of #5a5f40

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

Shade Color Variation
Tint Color Variation

Tones of #5a5f40

A tone is produced by adding gray to any pure hue. In this case, #52534c is the less saturated color, while #839c03 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5f40 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
  • #5a5a5a Achromatopsia 0.005% of the population
  • #5a5b55 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #6c6448 Protanopia 1% of men
  • #76604c Deuteranopia 1% of men
  • #67636a Tritanopia 0.001% of the population
Trichromacy
  • #656245 Protanomaly 1% of men, 0.01% of women
  • #6b6047 Deuteranomaly 6% of men, 0.4% of women
  • #62615a Tritanomaly 0.01% of the population