#afa228 Color Information

In a RGB color space, hex #afa228 is composed of 68.6% red, 63.5% green and 15.7% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 7.4% magenta, 77.1% yellow and 31.4% black. It has a hue angle of 54.2 degrees, a saturation of 62.8% and a lightness of 42.2%. #afa228 color hex could be obtained by blending #ffff50 with #5f4500. Closest websafe color is: #999933.

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

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

#afa228 Color Conversion

The hexadecimal color #afa228 has RGB values of R:175, G:162, B:40 and CMYK values of C:0, M:0.07, Y:0.77, K:0.31. Its decimal value is 11510312.

Hex triplet afa228 #afa228
RGB Decimal 175, 162, 40 rgb(175,162,40)
RGB Percent 68.6, 63.5, 15.7 rgb(68.6%,63.5%,15.7%)
CMYK 0, 7, 77, 31
HSL 54.2°, 62.8, 42.2 hsl(54.2,62.8%,42.2%)
HSV (or HSB) 54.2°, 77.1, 68.6
Web Safe 999933 #999933
CIE-LAB 65.833, -8.619, 60.395
XYZ 30.983, 35.109, 7.152
xyY 0.423, 0.479, 35.109
CIE-LCH 65.833, 61.007, 98.122
CIE-LUV 65.833, 13.845, 66.181
Hunter-Lab 59.253, -10.356, 34.32
Binary 10101111, 10100010, 00101000

Color Schemes with #afa228

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

Alternatives to #afa228

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

Similar Colors

#afa228 Preview

Text with hexadecimal color #afa228

This text has a font color of #afa228.

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

This paragraph has a background color of #afa228.

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

This element has a border color of #afa228.

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

Shades and Tints of #afa228

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

Shade Color Variation
Tint Color Variation

Tones of #afa228

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #afa228 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
  • #989898 Achromatopsia 0.005% of the population
  • #9d9a82 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #b8a532 Protanopia 1% of men
  • #cc9d38 Deuteranopia 1% of men
  • #bd9ca7 Tritanopia 0.001% of the population
Trichromacy
  • #b4a42e Protanomaly 1% of men, 0.01% of women
  • #c19e32 Deuteranomaly 6% of men, 0.4% of women
  • #b89e78 Tritanomaly 0.01% of the population