#AFC78F color
The hex color #AFC78F is a light, desaturated yellow-green.
In the RGB color model it is made of 68.6% red, 78% green and 56.1% blue (175, 199, 143).
Its hue angle is 86°, with 33% saturation and 67% lightness. For print, the CMYK equivalent is 12% cyan, 0% magenta, 28% yellow and 22% black.
The closest named color is Greenhorn (#B2CC9A), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 11.39:1).
#AFC78F color codes
| HEX | #AFC78F | |
|---|---|---|
| RGB | rgb(175, 199, 143) | |
| RGB percent | rgb(68.6%, 78%, 56.1%) | |
| HSL | hsl(86, 33%, 67%) | |
| HSV / HSB | hsv(86, 28%, 78%) | |
| CMYK | cmyk(12%, 0%, 28%, 22%) | |
| CIE LAB | lab(77.25, -17.91, 25.43) | |
| CIE LCH | lch(77.25, 31.11, 125.16) | |
| CIE XYZ | xyz(43.06, 51.944, 33.739) | |
| Decimal | 11519887 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFC78F, 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 #AFC78F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.39:1 | Pass | Pass | Pass |
| Sample text | 1.84:1 | Fail | Fail | Fail |
| #AFC78F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.84:1 | Fail | Fail | Fail |
| Sample text | 11.39: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 #AFC78F looks to people with the most common types of color vision deficiency.
#cdc08bProtanopia
no red cones#c9be92Deuteranopia
no green cones#b2c2b8Tritanopia
no blue cones#bfbfbfAchromatopsia
no color vision
CSS examples
.background { background-color: #afc78f; }
.text { color: #afc78f; }
.border { border: 2px solid #afc78f; }
.transparent { background-color: rgb(175 199 143 / 50%); }
.gradient { background: linear-gradient(to right, #afc78f, #93c78f); }
Similar colors
#b2cc9aGreenhorn#abca99Oh Pistachio#b6d4a0In Good Taste#afb982Nile#c0cba1Seedling#a4b88fNorway#a7cca4Limestoned#a1b670Around the Gills
Closest common color name: Pistachio.
Questions
- What color is #AFC78F?
- #AFC78F is a light, desaturated yellow-green, closest to the named color Greenhorn. It belongs to the green family of colors.
- What is the RGB value of #AFC78F?
- The RGB value is 175, 199, 143: 175 red, 199 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #AFC78F?
- The complementary color is #A78FC7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFC78F?
- Black text. Black text has a contrast ratio of 11.39:1 and white text 1.84:1. WCAG asks for at least 4.5:1 for normal text.