#AFA45F color

#AFA45F rgb(175, 164, 95)
Shades of yellow

The hex color #AFA45F is a desaturated yellow.

In the RGB color model it is made of 68.6% red, 64.3% green and 37.3% blue (175, 164, 95).

Its hue angle is 52°, with 33% saturation and 53% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 46% yellow and 31% black.

The closest named color is Desert Locust (#A9A450), a difference of 3.2 ΔE, a small difference.

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

#AFA45F color codes

HEX#AFA45F
RGBrgb(175, 164, 95)
RGB percentrgb(68.6%, 64.3%, 37.3%)
HSLhsl(52, 33%, 53%)
HSV / HSBhsv(52, 46%, 69%)
CMYKcmyk(0%, 6%, 46%, 31%)
CIE LABlab(66.89, -5.81, 37.1)
CIE LCHlch(66.89, 37.55, 98.9)
CIE XYZxyz(33.021, 36.492, 16.129)
Decimal11510879
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #AFA45F, 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 #AFA45FRatioAAAAAAA large
Sample text8.3:1PassPassPass
Sample text2.53:1FailFailFail
#AFA45F as text onRatioAAAAAAA large
Sample text2.53:1FailFailFail
Sample text8.3: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 #AFA45F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #afa45f; }
.text { color: #afa45f; }
.border { border: 2px solid #afa45f; }
.transparent { background-color: rgb(175 164 95 / 50%); }
.gradient { background: linear-gradient(to right, #afa45f, #92af5f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Khaki.

Questions

What color is #AFA45F?
#AFA45F is a desaturated yellow, closest to the named color Desert Locust. It belongs to the yellow family of colors.
What is the RGB value of #AFA45F?
The RGB value is 175, 164, 95: 175 red, 164 green and 95 blue on a 0 to 255 scale.
What is the complementary color of #AFA45F?
The complementary color is #5F6AAF, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AFA45F?
Black text. Black text has a contrast ratio of 8.3:1 and white text 2.53:1. WCAG asks for at least 4.5:1 for normal text.