Tennis Ball color: hex code #DFFF4F

#DFFF4F rgb(223, 255, 79)
Shades of green

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
RGBrgb(223, 255, 79)
RGB percentrgb(87.5%, 100%, 31%)
HSLhsl(71, 100%, 65%)
HSV / HSBhsv(71, 69%, 100%)
CMYKcmyk(13%, 0%, 69%, 0%)
CIE LABlab(95.07, -32.41, 76.35)
CIE LCHlch(95.07, 82.94, 113)
CIE XYZxyz(67.604, 87.773, 20.776)
Decimal14679887
Short hexNone (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 #DFFF4FRatioAAAAAAA large
Sample text18.55:1PassPassPass
Sample text1.13:1FailFailFail
#DFFF4F as text onRatioAAAAAAA large
Sample text1.13:1FailFailFail
Sample text18.55:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.