#AFB371 color

#AFB371 rgb(175, 179, 113)
Shades of yellow

The hex color #AFB371 is a desaturated yellow.

In the RGB color model it is made of 68.6% red, 70.2% green and 44.3% blue (175, 179, 113).

Its hue angle is 64°, with 30% saturation and 57% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 37% yellow and 30% black.

The closest named color is Savannah Grass (#BABC72), a difference of 3 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 9.51:1).

#AFB371 color codes

HEX#AFB371
RGBrgb(175, 179, 113)
RGB percentrgb(68.6%, 70.2%, 44.3%)
HSLhsl(64, 30%, 57%)
HSV / HSBhsv(64, 37%, 70%)
CMYKcmyk(2%, 0%, 37%, 30%)
CIE LABlab(71.25, -11.7, 33.25)
CIE LCHlch(71.25, 35.25, 109.39)
CIE XYZxyz(36.78, 42.547, 21.894)
Decimal11514737
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #AFB371, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #AFB371RatioAAAAAAA large
Sample text9.51:1PassPassPass
Sample text2.21:1FailFailFail
#AFB371 as text onRatioAAAAAAA large
Sample text2.21:1FailFailFail
Sample text9.51:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #AFB371 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #afb371; }
.text { color: #afb371; }
.border { border: 2px solid #afb371; }
.transparent { background-color: rgb(175 179 113 / 50%); }
.gradient { background: linear-gradient(to right, #afb371, #8eb371); }
Background
Text color
Border

Similar colors

Questions

What color is #AFB371?
#AFB371 is a desaturated yellow, closest to the named color Savannah Grass. It belongs to the yellow family of colors.
What is the RGB value of #AFB371?
The RGB value is 175, 179, 113: 175 red, 179 green and 113 blue on a 0 to 255 scale.
What is the complementary color of #AFB371?
The complementary color is #7571B3, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AFB371?
Black text. Black text has a contrast ratio of 9.51:1 and white text 2.21:1. WCAG asks for at least 4.5:1 for normal text.