#AFB28B color

#AFB28B rgb(175, 178, 139)
Shades of yellow

The hex color #AFB28B is a light, grayish yellow.

In the RGB color model it is made of 68.6% red, 69.8% green and 54.5% blue (175, 178, 139).

Its hue angle is 65°, with 20% saturation and 62% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 22% yellow and 30% black.

The closest named color is Green Tea (#B5B68F), a difference of 1.4 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 9.56:1).

#AFB28B color codes

HEX#AFB28B
RGBrgb(175, 178, 139)
RGB percentrgb(68.6%, 69.8%, 54.5%)
HSLhsl(65, 20%, 62%)
HSV / HSBhsv(65, 22%, 70%)
CMYKcmyk(2%, 0%, 22%, 30%)
CIE LABlab(71.43, -7.68, 19.64)
CIE LCHlch(71.43, 21.09, 111.37)
CIE XYZxyz(38.26, 42.819, 30.67)
Decimal11514507
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #AFB28B, 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 #AFB28BRatioAAAAAAA large
Sample text9.56:1PassPassPass
Sample text2.2:1FailFailFail
#AFB28B as text onRatioAAAAAAA large
Sample text2.2:1FailFailFail
Sample text9.56: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 #AFB28B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #afb28b; }
.text { color: #afb28b; }
.border { border: 2px solid #afb28b; }
.transparent { background-color: rgb(175 178 139 / 50%); }
.gradient { background: linear-gradient(to right, #afb28b, #9cb28b); }
Background
Text color
Border

Similar colors

Questions

What color is #AFB28B?
#AFB28B is a light, grayish yellow, closest to the named color Green Tea. It belongs to the yellow family of colors.
What is the RGB value of #AFB28B?
The RGB value is 175, 178, 139: 175 red, 178 green and 139 blue on a 0 to 255 scale.
What is the complementary color of #AFB28B?
The complementary color is #8E8BB2, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AFB28B?
Black text. Black text has a contrast ratio of 9.56:1 and white text 2.2:1. WCAG asks for at least 4.5:1 for normal text.