#AFB18D color
The hex color #AFB18D is a light, grayish yellow.
In the RGB color model it is made of 68.6% red, 69.4% green and 55.3% blue (175, 177, 141).
Its hue angle is 63°, with 19% saturation and 62% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 20% yellow and 31% black.
The closest named color is Green Tea (#B5B68F), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.5:1).
#AFB18D color codes
| HEX | #AFB18D | |
|---|---|---|
| RGB | rgb(175, 177, 141) | |
| RGB percent | rgb(68.6%, 69.4%, 55.3%) | |
| HSL | hsl(63, 19%, 62%) | |
| HSV / HSB | hsv(63, 20%, 69%) | |
| CMYK | cmyk(1%, 0%, 20%, 31%) | |
| CIE LAB | lab(71.2, -6.85, 18.24) | |
| CIE LCH | lch(71.2, 19.48, 110.6) | |
| CIE XYZ | xyz(38.209, 42.482, 31.381) | |
| Decimal | 11514253 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFB18D, 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 #AFB18D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.5:1 | Pass | Pass | Pass |
| Sample text | 2.21:1 | Fail | Fail | Fail |
| #AFB18D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.21:1 | Fail | Fail | Fail |
| Sample text | 9.5: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 #AFB18D looks to people with the most common types of color vision deficiency.
#b7ae8bProtanopia
no red cones#b7af8eDeuteranopia
no green cones#b4aca7Tritanopia
no blue cones#aeaeaeAchromatopsia
no color vision
CSS examples
.background { background-color: #afb18d; }
.text { color: #afb18d; }
.border { border: 2px solid #afb18d; }
.transparent { background-color: rgb(175 177 141 / 50%); }
.gradient { background: linear-gradient(to right, #afb18d, #9db18d); }
Similar colors
#b5b68fGreen Tea#aaad94Quiet Thicket#bcb88aSage#aba77cOlive Tree#bcc09eAnimal Kingdom#bbc199Beige and Sage#aaaa77Cardamom#b1a979Bamboo Forest
Questions
- What color is #AFB18D?
- #AFB18D 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 #AFB18D?
- The RGB value is 175, 177, 141: 175 red, 177 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #AFB18D?
- The complementary color is #8F8DB1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFB18D?
- Black text. Black text has a contrast ratio of 9.5:1 and white text 2.21:1. WCAG asks for at least 4.5:1 for normal text.