#AFE298 color
The hex color #AFE298 is a light, moderate green.
In the RGB color model it is made of 68.6% red, 88.6% green and 59.6% blue (175, 226, 152).
Its hue angle is 101°, with 56% saturation and 74% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 33% yellow and 11% black.
The closest named color is Sage Sensation (#B2E191), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 14.15:1).
#AFE298 color codes
| HEX | #AFE298 | |
|---|---|---|
| RGB | rgb(175, 226, 152) | |
| RGB percent | rgb(68.6%, 88.6%, 59.6%) | |
| HSL | hsl(101, 56%, 74%) | |
| HSV / HSB | hsv(101, 33%, 89%) | |
| CMYK | cmyk(23%, 0%, 33%, 11%) | |
| CIE LAB | lab(84.88, -29.75, 31.01) | |
| CIE LCH | lch(84.88, 42.97, 133.81) | |
| CIE XYZ | xyz(50.542, 65.772, 39.732) | |
| Decimal | 11526808 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFE298, 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 #AFE298 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.15:1 | Pass | Pass | Pass |
| Sample text | 1.48:1 | Fail | Fail | Fail |
| #AFE298 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.15: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 #AFE298 looks to people with the most common types of color vision deficiency.
#e7d793Protanopia
no red cones#dfd29cDeuteranopia
no green cones#aeddcfTritanopia
no blue cones#d4d4d4Achromatopsia
no color vision
CSS examples
.background { background-color: #afe298; }
.text { color: #afe298; }
.border { border: 2px solid #afe298; }
.transparent { background-color: rgb(175 226 152 / 50%); }
.gradient { background: linear-gradient(to right, #afe298, #98e2a6); }
Similar colors
#b2e191Sage Sensation#b7e1a1Basil Smash#a8e4a0Grape Green#bee7a5Pastel Pea#a5d785Feijoa#bbee99Sweet Mint Pesto#98d98eLeek#baebaeIce Ice
Closest common color name: Celadon.
Questions
- What color is #AFE298?
- #AFE298 is a light, moderate green, closest to the named color Sage Sensation. It belongs to the green family of colors.
- What is the RGB value of #AFE298?
- The RGB value is 175, 226, 152: 175 red, 226 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #AFE298?
- The complementary color is #CB98E2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFE298?
- Black text. Black text has a contrast ratio of 14.15:1 and white text 1.48:1. WCAG asks for at least 4.5:1 for normal text.