#5a5942 Color Information

In a RGB color space, hex #5a5942 is composed of 35.3% red, 34.9% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 1.1% magenta, 26.7% yellow and 64.7% black. It has a hue angle of 57.5 degrees, a saturation of 15.4% and a lightness of 30.6%. #5a5942 color hex could be obtained by blending #b4b284 with #000000. Closest websafe color is: #666633.

    • R 35
    • G 35
    • B 26
    RGB color chart
    • C 0
    • M 1
    • Y 27
    • K 65
    CMYK color chart

#5a5942 color description : Very dark grayish yellow.

#5a5942 Color Conversion

The hexadecimal color #5a5942 has RGB values of R:90, G:89, B:66 and CMYK values of C:0, M:0.01, Y:0.27, K:0.65. Its decimal value is 5921090.

Hex triplet 5a5942 #5a5942
RGB Decimal 90, 89, 66 rgb(90,89,66)
RGB Percent 35.3, 34.9, 25.9 rgb(35.3%,34.9%,25.9%)
CMYK 0, 1, 27, 65
HSL 57.5°, 15.4, 30.6 hsl(57.5,15.4%,30.6%)
HSV (or HSB) 57.5°, 26.7, 35.3
Web Safe 666633 #666633
CIE-LAB 37.32, -3.872, 13.501
XYZ 8.772, 9.712, 6.566
xyY 0.35, 0.388, 9.712
CIE-LCH 37.32, 14.045, 106.005
CIE-LUV 37.32, 1.768, 16.287
Hunter-Lab 31.164, -4.292, 9.322
Binary 01011010, 01011001, 01000010

Color Schemes with #5a5942

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

Alternatives to #5a5942

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

Similar Colors

#5a5942 Preview

Text with hexadecimal color #5a5942

This text has a font color of #5a5942.

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

This paragraph has a background color of #5a5942.

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

This element has a border color of #5a5942.

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

Shades and Tints of #5a5942

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

Shade Color Variation
Tint Color Variation

Tones of #5a5942

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5942 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
  • #575757 Achromatopsia 0.005% of the population
  • #585753 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #66604b Protanopia 1% of men
  • #705c4d Deuteranopia 1% of men
  • #665e64 Tritanopia 0.001% of the population
Trichromacy
  • #625d47 Protanomaly 1% of men, 0.01% of women
  • #685b49 Deuteranomaly 6% of men, 0.4% of women
  • #615c58 Tritanomaly 0.01% of the population