Nile color: hex code #AFB982

#AFB982 rgb(175, 185, 130)
Shades of green

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
RGBrgb(175, 185, 130)
RGB percentrgb(68.6%, 72.5%, 51%)
HSLhsl(71, 28%, 62%)
HSV / HSBhsv(71, 30%, 73%)
CMYKcmyk(5%, 0%, 30%, 27%)
CIE LABlab(73.17, -12.63, 26.82)
CIE LCHlch(73.17, 29.65, 115.21)
CIE XYZxyz(39.057, 45.424, 27.825)
Decimal11516290
Short hexNone (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 #AFB982RatioAAAAAAA large
Sample text10.08:1PassPassPass
Sample text2.08:1FailFailFail
#AFB982 as text onRatioAAAAAAA large
Sample text2.08:1FailFailFail
Sample text10.08: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 #AFB982 looks to people with the most common types of color vision deficiency.

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); }
Background
Text color
Border

Similar colors

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.