#afaf21 Color Information

In a RGB color space, hex #afaf21 is composed of 68.6% red, 68.6% green and 12.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 0% magenta, 81.1% yellow and 31.4% black. It has a hue angle of 60 degrees, a saturation of 68.3% and a lightness of 40.8%. #afaf21 color hex could be obtained by blending #ffff42 with #5f5f00. Closest websafe color is: #999933.

    • R 69
    • G 69
    • B 13
    RGB color chart
    • C 0
    • M 0
    • Y 81
    • K 31
    CMYK color chart

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

#afaf21 Color Conversion

The hexadecimal color #afaf21 has RGB values of R:175, G:175, B:33 and CMYK values of C:0, M:0, Y:0.81, K:0.31. Its decimal value is 11513633.

Hex triplet afaf21 #afaf21
RGB Decimal 175, 175, 33 rgb(175,175,33)
RGB Percent 68.6, 68.6, 12.9 rgb(68.6%,68.6%,12.9%)
CMYK 0, 0, 81, 31
HSL 60°, 68.3, 40.8 hsl(60,68.3%,40.8%)
HSV (or HSB) 60°, 81.1, 68.6
Web Safe 999933 #999933
CIE-LAB 69.387, -15.622, 65.66
XYZ 33.284, 39.884, 7.384
xyY 0.413, 0.495, 39.884
CIE-LCH 69.387, 67.493, 103.383
CIE-LUV 69.387, 5.253, 72.868
Hunter-Lab 63.154, -16.446, 37.276
Binary 10101111, 10101111, 00100001

Color Schemes with #afaf21

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

Alternatives to #afaf21

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

Similar Colors

#afaf21 Preview

Text with hexadecimal color #afaf21

This text has a font color of #afaf21.

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

This paragraph has a background color of #afaf21.

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

This element has a border color of #afaf21.

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

Shades and Tints of #afaf21

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

Shade Color Variation
Tint Color Variation

Tones of #afaf21

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #afaf21 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
  • #9f9f9f Achromatopsia 0.005% of the population
  • #a2a286 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #c2ae2b Protanopia 1% of men
  • #d8a534 Deuteranopia 1% of men
  • #bfa7b3 Tritanopia 0.001% of the population
Trichromacy
  • #bbae27 Protanomaly 1% of men, 0.01% of women
  • #c9a92d Deuteranomaly 6% of men, 0.4% of women
  • #b9aa7e Tritanomaly 0.01% of the population