#afa21f Color Information

In a RGB color space, hex #afa21f is composed of 68.6% red, 63.5% green and 12.2% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 7.4% magenta, 82.3% yellow and 31.4% black. It has a hue angle of 54.6 degrees, a saturation of 69.9% and a lightness of 40.4%. #afa21f color hex could be obtained by blending #ffff3e with #5f4500. Closest websafe color is: #999933.

    • R 69
    • G 64
    • B 12
    RGB color chart
    • C 0
    • M 7
    • Y 82
    • K 31
    CMYK color chart

#afa21f color description : Dark yellow [Olive tone].

#afa21f Color Conversion

The hexadecimal color #afa21f has RGB values of R:175, G:162, B:31 and CMYK values of C:0, M:0.07, Y:0.82, K:0.31. Its decimal value is 11510303.

Hex triplet afa21f #afa21f
RGB Decimal 175, 162, 31 rgb(175,162,31)
RGB Percent 68.6, 63.5, 12.2 rgb(68.6%,63.5%,12.2%)
CMYK 0, 7, 82, 31
HSL 54.6°, 69.9, 40.4 hsl(54.6,69.9%,40.4%)
HSV (or HSB) 54.6°, 82.3, 68.6
Web Safe 999933 #999933
CIE-LAB 65.791, -8.941, 63.105
XYZ 30.847, 35.054, 6.438
xyY 0.426, 0.485, 35.054
CIE-LCH 65.791, 63.735, 98.064
CIE-LUV 65.791, 14.014, 67.919
Hunter-Lab 59.207, -10.612, 34.998
Binary 10101111, 10100010, 00011111

Color Schemes with #afa21f

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

Alternatives to #afa21f

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

Similar Colors

#afa21f Preview

Text with hexadecimal color #afa21f

This text has a font color of #afa21f.

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

This paragraph has a background color of #afa21f.

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

This element has a border color of #afa21f.

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

Shades and Tints of #afa21f

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

Shade Color Variation
Tint Color Variation

Tones of #afa21f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #afa21f 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
  • #979797 Achromatopsia 0.005% of the population
  • #9c997f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #b8a52a Protanopia 1% of men
  • #cd9c30 Deuteranopia 1% of men
  • #bd9ca7 Tritanopia 0.001% of the population
Trichromacy
  • #b4a326 Protanomaly 1% of men, 0.01% of women
  • #c29e2a Deuteranomaly 6% of men, 0.4% of women
  • #b89e75 Tritanomaly 0.01% of the population