#AFBF88 color
The hex color #AFBF88 is a light, desaturated yellow-green.
In the RGB color model it is made of 68.6% red, 74.9% green and 53.3% blue (175, 191, 136).
Its hue angle is 77°, with 30% saturation and 64% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 29% yellow and 25% black.
The closest named color is Nile (#AFB982), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 10.63:1).
#AFBF88 color codes
| HEX | #AFBF88 | |
|---|---|---|
| RGB | rgb(175, 191, 136) | |
| RGB percent | rgb(68.6%, 74.9%, 53.3%) | |
| HSL | hsl(77, 30%, 64%) | |
| HSV / HSB | hsv(77, 29%, 75%) | |
| CMYK | cmyk(8%, 0%, 29%, 25%) | |
| CIE LAB | lab(74.92, -14.87, 25.99) | |
| CIE LCH | lch(74.92, 29.95, 119.77) | |
| CIE XYZ | xyz(40.754, 48.153, 30.435) | |
| Decimal | 11517832 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFBF88, 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 #AFBF88 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.63:1 | Pass | Pass | Pass |
| Sample text | 1.98:1 | Fail | Fail | Fail |
| #AFBF88 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.98:1 | Fail | Fail | Fail |
| Sample text | 10.63: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 #AFBF88 looks to people with the most common types of color vision deficiency.
#c6b984Protanopia
no red cones#c4b88aDeuteranopia
no green cones#b4b9b1Tritanopia
no blue cones#b8b8b8Achromatopsia
no color vision
CSS examples
.background { background-color: #afbf88; }
.text { color: #afbf88; }
.border { border: 2px solid #afbf88; }
.transparent { background-color: rgb(175 191 136 / 50%); }
.gradient { background: linear-gradient(to right, #afbf88, #93bf88); }
Similar colors
#afb982Nile#bec187Kiss a Frog#a4b88fNorway#b2cc9aGreenhorn#a1b670Around the Gills#a5af76Estragon#bbc199Beige and Sage#abca99Oh Pistachio
Closest common color name: Sage Green.
Questions
- What color is #AFBF88?
- #AFBF88 is a light, desaturated yellow-green, closest to the named color Nile. It belongs to the green family of colors.
- What is the RGB value of #AFBF88?
- The RGB value is 175, 191, 136: 175 red, 191 green and 136 blue on a 0 to 255 scale.
- What is the complementary color of #AFBF88?
- The complementary color is #9888BF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFBF88?
- Black text. Black text has a contrast ratio of 10.63:1 and white text 1.98:1. WCAG asks for at least 4.5:1 for normal text.