#AF9238 color
The hex color #AF9238 is a moderate yellow.
In the RGB color model it is made of 68.6% red, 57.3% green and 22% blue (175, 146, 56).
Its hue angle is 45°, with 52% saturation and 45% lightness. For print, the CMYK equivalent is 0% cyan, 17% magenta, 68% yellow and 31% black.
The closest named color is Luxor Gold (#AB8D3F), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.99:1).
#AF9238 color codes
| HEX | #AF9238 | |
|---|---|---|
| RGB | rgb(175, 146, 56) | |
| RGB percent | rgb(68.6%, 57.3%, 22%) | |
| HSL | hsl(45, 52%, 45%) | |
| HSV / HSB | hsv(45, 68%, 69%) | |
| CMYK | cmyk(0%, 17%, 68%, 31%) | |
| CIE LAB | lab(61.62, 0.77, 50.01) | |
| CIE LCH | lch(61.62, 50.02, 89.11) | |
| CIE XYZ | xyz(28.673, 29.959, 8.013) | |
| Decimal | 11506232 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF9238, 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 #AF9238 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.99:1 | Pass | Fail | Pass |
| Sample text | 3:1 | Fail | Fail | Pass |
| #AF9238 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3:1 | Fail | Fail | Pass |
| Sample text | 6.99:1 | Pass | Fail | 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 #AF9238 looks to people with the most common types of color vision deficiency.
#a2902dProtanopia
no red cones#a9983cDeuteranopia
no green cones#bd867fTritanopia
no blue cones#959595Achromatopsia
no color vision
CSS examples
.background { background-color: #af9238; }
.text { color: #af9238; }
.border { border: 2px solid #af9238; }
.transparent { background-color: rgb(175 146 56 / 50%); }
.gradient { background: linear-gradient(to right, #af9238, #91af38); }
Similar colors
#ab8d3fLuxor Gold#b08f42Pirate’s Hook#aa8833Rich Gold#bc9229Nugget#bf961fProspector’s Find#a69151Salted Capers#c49b35Golden Mean#aa9922Greedy Gecko
Closest common color name: Dark Goldenrod.
Questions
- What color is #AF9238?
- #AF9238 is a moderate yellow, closest to the named color Luxor Gold. It belongs to the brown family of colors.
- What is the RGB value of #AF9238?
- The RGB value is 175, 146, 56: 175 red, 146 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #AF9238?
- The complementary color is #3855AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF9238?
- Black text. Black text has a contrast ratio of 6.99:1 and white text 3:1. WCAG asks for at least 4.5:1 for normal text.