#AFB47E color
The hex color #AFB47E is a desaturated yellow.
In the RGB color model it is made of 68.6% red, 70.6% green and 49.4% blue (175, 180, 126).
Its hue angle is 66°, with 26% saturation and 60% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 30% yellow and 29% black.
The closest named color is Nile (#AFB982), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.65:1).
#AFB47E color codes
| HEX | #AFB47E | |
|---|---|---|
| RGB | rgb(175, 180, 126) | |
| RGB percent | rgb(68.6%, 70.6%, 49.4%) | |
| HSL | hsl(66, 26%, 60%) | |
| HSV / HSB | hsv(66, 30%, 71%) | |
| CMYK | cmyk(3%, 0%, 30%, 29%) | |
| CIE LAB | lab(71.73, -10.57, 27.03) | |
| CIE LCH | lch(71.73, 29.03, 111.36) | |
| CIE XYZ | xyz(37.766, 43.263, 26.096) | |
| Decimal | 11515006 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFB47E, 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 #AFB47E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.65:1 | Pass | Pass | Pass |
| Sample text | 2.18:1 | Fail | Fail | Fail |
| #AFB47E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.65: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 #AFB47E looks to people with the most common types of color vision deficiency.
#bcaf7aProtanopia
no red cones#bcb080Deuteranopia
no green cones#b6aea6Tritanopia
no blue cones#b0b0b0Achromatopsia
no color vision
CSS examples
.background { background-color: #afb47e; }
.text { color: #afb47e; }
.border { border: 2px solid #afb47e; }
.transparent { background-color: rgb(175 180 126 / 50%); }
.gradient { background: linear-gradient(to right, #afb47e, #94b47e); }
Similar colors
#afb982Nile#a5af76Estragon#aaaa77Cardamom#bec187Kiss a Frog#bcb88aSage#b5b68fGreen Tea#9faf6cMatcha Mecha#a1a46dWillow Leaf
Questions
- What color is #AFB47E?
- #AFB47E is a desaturated yellow, closest to the named color Nile. It belongs to the yellow family of colors.
- What is the RGB value of #AFB47E?
- The RGB value is 175, 180, 126: 175 red, 180 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #AFB47E?
- The complementary color is #837EB4, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFB47E?
- Black text. Black text has a contrast ratio of 9.65:1 and white text 2.18:1. WCAG asks for at least 4.5:1 for normal text.