#afb242 Color Information

In a RGB color space, hex #afb242 is composed of 68.6% red, 69.8% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 1.7% cyan, 0% magenta, 62.9% yellow and 30.2% black. It has a hue angle of 61.6 degrees, a saturation of 45.9% and a lightness of 47.8%. #afb242 color hex could be obtained by blending #ffff84 with #5f6500. Closest websafe color is: #999933.

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

#afb242 color description : Dark moderate yellow.

#afb242 Color Conversion

The hexadecimal color #afb242 has RGB values of R:175, G:178, B:66 and CMYK values of C:0.02, M:0, Y:0.63, K:0.3. Its decimal value is 11514434.

Hex triplet afb242 #afb242
RGB Decimal 175, 178, 66 rgb(175,178,66)
RGB Percent 68.6, 69.8, 25.9 rgb(68.6%,69.8%,25.9%)
CMYK 2, 0, 63, 30
HSL 61.6°, 45.9, 47.8 hsl(61.6,45.9%,47.8%)
HSV (or HSB) 61.6°, 62.9, 69.8
Web Safe 999933 #999933
CIE-LAB 70.419, -15.545, 54.975
XYZ 34.583, 41.349, 11.313
xyY 0.396, 0.474, 41.349
CIE-LCH 70.419, 57.13, 105.789
CIE-LUV 70.419, 2.75, 65.886
Hunter-Lab 64.303, -16.53, 34.581
Binary 10101111, 10110010, 01000010

Color Schemes with #afb242

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

Alternatives to #afb242

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

Similar Colors

#afb242 Preview

Text with hexadecimal color #afb242

This text has a font color of #afb242.

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

This paragraph has a background color of #afb242.

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

This element has a border color of #afb242.

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

Shades and Tints of #afb242

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

Shade Color Variation
Tint Color Variation

Tones of #afb242

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #afb242 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
  • #a4a4a4 Achromatopsia 0.005% of the population
  • #a6a790 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #c3b04a Protanopia 1% of men
  • #d8a851 Deuteranopia 1% of men
  • #beabb7 Tritanopia 0.001% of the population
Trichromacy
  • #bcb147 Protanomaly 1% of men, 0.01% of women
  • #c9ab4b Deuteranomaly 6% of men, 0.4% of women
  • #b9ad8c Tritanomaly 0.01% of the population