#1FAF7A color
The hex color #1FAF7A is a moderate spring green.
In the RGB color model it is made of 12.2% red, 68.6% green and 47.8% blue (31, 175, 122).
Its hue angle is 158°, with 70% saturation and 40% lightness. For print, the CMYK equivalent is 82% cyan, 0% magenta, 30% yellow and 31% black.
The closest named color is Cosmic Green (#30A877), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.47:1).
#1FAF7A color codes
| HEX | #1FAF7A | |
|---|---|---|
| RGB | rgb(31, 175, 122) | |
| RGB percent | rgb(12.2%, 68.6%, 47.8%) | |
| HSL | hsl(158, 70%, 40%) | |
| HSV / HSB | hsv(158, 82%, 69%) | |
| CMYK | cmyk(82%, 0%, 30%, 31%) | |
| CIE LAB | lab(63.63, -48.83, 17.11) | |
| CIE LCH | lch(63.63, 51.74, 160.69) | |
| CIE XYZ | xyz(19.406, 32.354, 23.631) | |
| Decimal | 2076538 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1FAF7A, 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 #1FAF7A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.47:1 | Pass | Pass | Pass |
| Sample text | 2.81:1 | Fail | Fail | Fail |
| #1FAF7A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.81:1 | Fail | Fail | Fail |
| Sample text | 7.47: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 #1FAF7A looks to people with the most common types of color vision deficiency.
#aca177Protanopia
no red cones#9b957dDeuteranopia
no green cones#00afa1Tritanopia
no blue cones#9a9a9aAchromatopsia
no color vision
CSS examples
.background { background-color: #1faf7a; }
.text { color: #1faf7a; }
.border { border: 2px solid #1faf7a; }
.transparent { background-color: rgb(31 175 122 / 50%); }
.gradient { background: linear-gradient(to right, #1faf7a, #1f9caf); }
Similar colors
#30a877Cosmic Green#44aa77Jubilant Jade#00a86bJade#3eb489Mint#00bb88Slime Girl#3cb371Medium Sea Green#11aa66Secret Garden#25a26fBejewelled
Questions
- What color is #1FAF7A?
- #1FAF7A is a moderate spring green, closest to the named color Cosmic Green. It belongs to the green family of colors.
- What is the RGB value of #1FAF7A?
- The RGB value is 31, 175, 122: 31 red, 175 green and 122 blue on a 0 to 255 scale.
- What is the complementary color of #1FAF7A?
- The complementary color is #AF1F54, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1FAF7A?
- Black text. Black text has a contrast ratio of 7.47:1 and white text 2.81:1. WCAG asks for at least 4.5:1 for normal text.