Papaya Whip Hex Code #FFEFD5
Papaya Whip is a very light, muted yellow with the hex code #FFEFD5. In RGB it is 255, 239, 213, and in HSL it is 37°, 100%, 92%. It is one of the 148 named colors in CSS, so you can write “papayawhip” instead of the hex code.
- HEX
- #FFEFD5
- RGB
- rgb(255, 239, 213)
- HSL
- hsl(37, 100%, 92%)
- HSV
- hsv(37°, 16%, 100%)
- CMYK
- cmyk(0%, 6%, 16%, 0%)
- CSS name
- papayawhip
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Papaya Whip
On a white background Papaya Whip has a contrast ratio of 1.13:1 (Fail), and on black 18.56:1 (AAA). Black text is the better choice on top of it.
It sits on the warm side of the color wheel, a range that tends to feel energetic and appears to advance toward the viewer.
Yellow is the brightest hue, so it is excellent for highlights but difficult to read as text on a white background. Pair it with dark text rather than white.
Shades and tints of Papaya Whip
Tints mix Papaya Whip with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Papaya Whip
These schemes are calculated from Papaya Whip on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Papaya Whip is #D5D7FF, close to the named color Lavender.
Papaya Whip contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Papaya Whip scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 1.13:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
| Black (#000000) | 18.56:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
Papaya Whip and color blindness
These are approximate previews of how Papaya Whip can look with the main types of color vision deficiency.
Papaya Whip looks almost the same.
Papaya Whip looks almost the same.
Papaya Whip shifts slightly.
Papaya Whip shifts slightly.
Gradients with Papaya Whip
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Papaya Whip to a lighter tint
background: linear-gradient(135deg, #ffefd5 0%, #fff9ee 100%); Papaya Whip to its analogous neighbour
background: linear-gradient(135deg, #ffefd5 0%, #faffd5 100%); Papaya Whip to its complement
background: linear-gradient(135deg, #ffefd5 0%, #d5e5ff 100%); Colors similar to Papaya Whip
How each close match differs from Papaya Whip.
Use Papaya Whip in code
.element {
color: #ffefd5;
background-color: #ffefd5;
border-color: papayawhip; /* papayawhip is a valid CSS color name */
} :root {
--color-papaya-whip: #ffefd5;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#ffefd5] text-[#ffefd5] border-[#ffefd5]"></div>
/* Tailwind v4 theme color */
@theme {
--color-papaya-whip: #ffefd5;
} Papaya Whip questions
What is the hex code for Papaya Whip?
The hex code for Papaya Whip is #FFEFD5. In RGB that is rgb(255, 239, 213), and in HSL it is hsl(37, 100%, 92%).
What is the complementary color of Papaya Whip?
On the RGB (screen) color wheel, the complement of Papaya Whip is #D5E5FF, which is close to Lavender. On the artist’s RYB wheel it is #D5D7FF, close to Lavender.
Should I use white or black text on Papaya Whip?
Black text. It has a contrast ratio of 18.56:1 against Papaya Whip, which is WCAG AAA. The other option scores 1.13:1.
Is Papaya Whip accessible as a text color on white?
No. Papaya Whip on white scores 1.13:1, which is below the WCAG minimum of 3:1 even for large text.
What are darker and lighter shades of Papaya Whip?
Mixing Papaya Whip with black gives #CCBFAA, #998F80, #666055, #33302B (20% to 80% black). Mixing it with white gives #FFF2DD, #FFF5E6, #FFF9EE, #FFFCF7 (20% to 80% white).