Nile color: hex code #AFB982
Nile has the hex code #AFB982. It is a desaturated yellow-green.
In the RGB color model it is made of 68.6% red, 72.5% green and 51% blue (175, 185, 130).
Its hue angle is 71°, with 28% saturation and 62% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 30% yellow and 27% black.
Black text is the more readable choice on this background (contrast 10.08:1).
Nile (#AFB982) color codes
| HEX | #AFB982 | |
|---|---|---|
| RGB | rgb(175, 185, 130) | |
| RGB percent | rgb(68.6%, 72.5%, 51%) | |
| HSL | hsl(71, 28%, 62%) | |
| HSV / HSB | hsv(71, 30%, 73%) | |
| CMYK | cmyk(5%, 0%, 30%, 27%) | |
| CIE LAB | lab(73.17, -12.63, 26.82) | |
| CIE LCH | lch(73.17, 29.65, 115.21) | |
| CIE XYZ | xyz(39.057, 45.424, 27.825) | |
| Decimal | 11516290 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Nile, 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 #AFB982 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.08:1 | Pass | Pass | Pass |
| Sample text | 2.08:1 | Fail | Fail | Fail |
| #AFB982 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.08:1 | Fail | Fail | Fail |
| Sample text | 10.08: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 #AFB982 looks to people with the most common types of color vision deficiency.
#c1b37eProtanopia
no red cones#c0b484Deuteranopia
no green cones#b5b3abTritanopia
no blue cones#b4b4b4Achromatopsia
no color vision
CSS examples
.background { background-color: #afb982; }
.text { color: #afb982; }
.border { border: 2px solid #afb982; }
.transparent { background-color: rgb(175 185 130 / 50%); }
.gradient { background: linear-gradient(to right, #afb982, #94b982); }
Similar colors
#a5af76Estragon#bec187Kiss a Frog#a1b670Around the Gills#9faf6cMatcha Mecha#bbc199Beige and Sage#b5b68fGreen Tea#aaaa77Cardamom#bcb88aSage
See #AFB982 on its hex code page
Questions
- What color is #AFB982?
- #AFB982 is a desaturated yellow-green known as Nile. It belongs to the green family of colors.
- What is the RGB value of Nile?
- The RGB value is 175, 185, 130: 175 red, 185 green and 130 blue on a 0 to 255 scale.
- What is the complementary color of Nile?
- The complementary color is #8C82B9, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFB982?
- Black text. Black text has a contrast ratio of 10.08:1 and white text 2.08:1. WCAG asks for at least 4.5:1 for normal text.