#afb21f Color Information

In a RGB color space, hex #afb21f is composed of 68.6% red, 69.8% green and 12.2% blue. Whereas in a CMYK color space, it is composed of 1.7% cyan, 0% magenta, 82.6% yellow and 30.2% black. It has a hue angle of 61.2 degrees, a saturation of 70.3% and a lightness of 41%. #afb21f color hex could be obtained by blending #ffff3e with #5f6500. Closest websafe color is: #999933.

    • R 69
    • G 70
    • B 12
    RGB color chart
    • C 2
    • M 0
    • Y 83
    • K 30
    CMYK color chart

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

#afb21f Color Conversion

The hexadecimal color #afb21f has RGB values of R:175, G:178, B:31 and CMYK values of C:0.02, M:0, Y:0.83, K:0.3. Its decimal value is 11514399.

Hex triplet afb21f #afb21f
RGB Decimal 175, 178, 31 rgb(175,178,31)
RGB Percent 68.6, 69.8, 12.2 rgb(68.6%,69.8%,12.2%)
CMYK 2, 0, 83, 30
HSL 61.2°, 70.3, 41 hsl(61.2,70.3%,41%)
HSV (or HSB) 61.2°, 82.6, 69.8
Web Safe 999933 #999933
CIE-LAB 70.214, -17.209, 66.889
XYZ 33.847, 41.054, 7.438
xyY 0.411, 0.499, 41.054
CIE-LCH 70.214, 69.067, 104.428
CIE-LUV 70.214, 3.321, 74.409
Hunter-Lab 64.074, -17.836, 37.969
Binary 10101111, 10110010, 00011111

Color Schemes with #afb21f

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

Alternatives to #afb21f

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

Similar Colors

#afb21f Preview

Text with hexadecimal color #afb21f

This text has a font color of #afb21f.

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

This paragraph has a background color of #afb21f.

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

This element has a border color of #afb21f.

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

Shades and Tints of #afb21f

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

Shade Color Variation
Tint Color Variation

Tones of #afb21f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #afb21f 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
  • #a0a0a0 Achromatopsia 0.005% of the population
  • #a3a486 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #c5b029 Protanopia 1% of men
  • #daa733 Deuteranopia 1% of men
  • #bfaab6 Tritanopia 0.001% of the population
Trichromacy
  • #bdb025 Protanomaly 1% of men, 0.01% of women
  • #caab2c Deuteranomaly 6% of men, 0.4% of women
  • #b9ad7f Tritanomaly 0.01% of the population