#AF9D3F color
The hex color #AF9D3F is a desaturated yellow.
In the RGB color model it is made of 68.6% red, 61.6% green and 24.7% blue (175, 157, 63).
Its hue angle is 50°, with 47% saturation and 47% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 64% yellow and 31% black.
The closest named color is Martian (#AEA132), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.72:1).
#AF9D3F color codes
| HEX | #AF9D3F | |
|---|---|---|
| RGB | rgb(175, 157, 63) | |
| RGB percent | rgb(68.6%, 61.6%, 24.7%) | |
| HSL | hsl(50, 47%, 47%) | |
| HSV / HSB | hsv(50, 64%, 69%) | |
| CMYK | cmyk(0%, 10%, 64%, 31%) | |
| CIE LAB | lab(64.63, -4.75, 50.1) | |
| CIE LCH | lch(64.63, 50.32, 95.41) | |
| CIE XYZ | xyz(30.635, 33.588, 9.571) | |
| Decimal | 11509055 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF9D3F, 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 #AF9D3F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.72:1 | Pass | Pass | Pass |
| Sample text | 2.72:1 | Fail | Fail | Fail |
| #AF9D3F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.72:1 | Fail | Fail | Fail |
| Sample text | 7.72:1 | Pass | Pass | Pass |
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 #AF9D3F looks to people with the most common types of color vision deficiency.
#ac9934Protanopia
no red cones#b0a044Deuteranopia
no green cones#bc9289Tritanopia
no blue cones#9d9d9dAchromatopsia
no color vision
CSS examples
.background { background-color: #af9d3f; }
.text { color: #af9d3f; }
.border { border: 2px solid #af9d3f; }
.transparent { background-color: rgb(175 157 63 / 50%); }
.gradient { background: linear-gradient(to right, #af9d3f, #89af3f); }
Similar colors
#aea132Martian#b5a642Brass#aa9922Greedy Gecko#b3a74bPickled#ab9a1cLucky#a69a51Formosan Green#a79954Gremlin#a9a450Desert Locust
Closest common color name: Metallic Gold.
Questions
- What color is #AF9D3F?
- #AF9D3F is a desaturated yellow, closest to the named color Martian. It belongs to the yellow family of colors.
- What is the RGB value of #AF9D3F?
- The RGB value is 175, 157, 63: 175 red, 157 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #AF9D3F?
- The complementary color is #3F51AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF9D3F?
- Black text. Black text has a contrast ratio of 7.72:1 and white text 2.72:1. WCAG asks for at least 4.5:1 for normal text.