#5a5102 Color Information

In a RGB color space, hex #5a5102 is composed of 35.3% red, 31.8% green and 0.8% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 10% magenta, 97.8% yellow and 64.7% black. It has a hue angle of 53.9 degrees, a saturation of 95.7% and a lightness of 18%. #5a5102 color hex could be obtained by blending #b4a204 with #000000. Closest websafe color is: #666600.

    • R 35
    • G 32
    • B 1
    RGB color chart
    • C 0
    • M 10
    • Y 98
    • K 65
    CMYK color chart

#5a5102 color description : Very dark yellow [Olive tone].

#5a5102 Color Conversion

The hexadecimal color #5a5102 has RGB values of R:90, G:81, B:2 and CMYK values of C:0, M:0.1, Y:0.98, K:0.65. Its decimal value is 5918978.

Hex triplet 5a5102 #5a5102
RGB Decimal 90, 81, 2 rgb(90,81,2)
RGB Percent 35.3, 31.8, 0.8 rgb(35.3%,31.8%,0.8%)
CMYK 0, 10, 98, 65
HSL 53.9°, 95.7, 18 hsl(53.9,95.7%,18%)
HSV (or HSB) 53.9°, 97.8, 35.3
Web Safe 666600 #666600
CIE-LAB 34.114, -4.743, 41.454
XYZ 7.17, 8.063, 1.236
xyY 0.435, 0.49, 8.063
CIE-LCH 34.114, 41.724, 96.528
CIE-LUV 34.114, 8.745, 36.433
Hunter-Lab 28.396, -4.621, 17.296
Binary 01011010, 01010001, 00000010

Color Schemes with #5a5102

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

Alternatives to #5a5102

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

Similar Colors

#5a5102 Preview

Text with hexadecimal color #5a5102

This text has a font color of #5a5102.

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

This paragraph has a background color of #5a5102.

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

This element has a border color of #5a5102.

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

Shades and Tints of #5a5102

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

Shade Color Variation
Tint Color Variation

Tones of #5a5102

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5102 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
  • #4b4b4b Achromatopsia 0.005% of the population
  • #4e4c3c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #64590b Protanopia 1% of men
  • #6f5511 Deuteranopia 1% of men
  • #685459 Tritanopia 0.001% of the population
Trichromacy
  • #605607 Protanomaly 1% of men, 0.01% of women
  • #67530b Deuteranomaly 6% of men, 0.4% of women
  • #625239 Tritanomaly 0.01% of the population