Tennis Ball color: hex code #DFFF4F
Tennis Ball has the hex code #DFFF4F. It is a light, vivid yellow-green.
In the RGB color model it is made of 87.5% red, 100% green and 31% blue (223, 255, 79).
Its hue angle is 71°, with 100% saturation and 65% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 69% yellow and 0% black.
Black text is the more readable choice on this background (contrast 18.55:1).
Tennis Ball (#DFFF4F) color codes
| HEX | #DFFF4F | |
|---|---|---|
| RGB | rgb(223, 255, 79) | |
| RGB percent | rgb(87.5%, 100%, 31%) | |
| HSL | hsl(71, 100%, 65%) | |
| HSV / HSB | hsv(71, 69%, 100%) | |
| CMYK | cmyk(13%, 0%, 69%, 0%) | |
| CIE LAB | lab(95.07, -32.41, 76.35) | |
| CIE LCH | lch(95.07, 82.94, 113) | |
| CIE XYZ | xyz(67.604, 87.773, 20.776) | |
| Decimal | 14679887 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Tennis Ball, 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 #DFFF4F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.55:1 | Pass | Pass | Pass |
| Sample text | 1.13:1 | Fail | Fail | Fail |
| #DFFF4F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.55: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 #DFFF4F looks to people with the most common types of color vision deficiency.
#fff131Protanopia
no red cones#fff15dDeuteranopia
no green cones#ecf2dcTritanopia
no blue cones#f1f1f1Achromatopsia
no color vision
CSS examples
.background { background-color: #dfff4f; }
.text { color: #dfff4f; }
.border { border: 2px solid #dfff4f; }
.transparent { background-color: rgb(223 255 79 / 50%); }
.gradient { background: linear-gradient(to right, #dfff4f, #87ff4f); }
Similar colors
#e1fe52Green Ooze#d1f358Ultra Moss#ddff00Lime Zest#cdf80cLiquid Lime#ceff00Volt#ccff11Toxic Boyfriend#eeff33Pickled Pineapple#eeff22John Lemon
Closest common color name: Butter Yellow.
See #DFFF4F on its hex code page
Questions
- What color is #DFFF4F?
- #DFFF4F is a light, vivid yellow-green known as Tennis Ball. It belongs to the green family of colors.
- What is the RGB value of Tennis Ball?
- The RGB value is 223, 255, 79: 223 red, 255 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of Tennis Ball?
- The complementary color is #6F4FFF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #DFFF4F?
- Black text. Black text has a contrast ratio of 18.55:1 and white text 1.13:1. WCAG asks for at least 4.5:1 for normal text.