CSS named color
PapayaWhip #FFEFD5
PapayaWhip (CSS keyword papayawhip) has the hex code #FFEFD5 and the RGB value rgb(255, 239, 213): an off-white with a beige tint.
A pale cream with a peach tint (#ffefd5); the name evokes a whipped papaya dessert. It is a little lighter than blanchedalmond and bisque.
Color codes for PapayaWhip
| CSS keyword | papayawhip |
|---|---|
| HEX | #FFEFD5 |
| RGB | rgb(255, 239, 213) |
| HSL | hsl(37, 100%, 92%) |
| HWB | hwb(37 84% 0%) |
| OKLCH | oklch(95.8% 0.038 80) |
| CMYK (naive, no ICC profile) | cmyk(0%, 6%, 16%, 0%) |
| Decimal | 16,773,077 |
| Hue family | Yellows |
Contrast and accessibility
On papayawhip, black text has a contrast ratio of 18.55:1 and passes AAA at any text size; white text reaches 1.13:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on papayawhip | 18.55:1 | Pass | Pass | Pass | Pass | 97.6 |
| White text on papayawhip | 1.13:1 | Fail | Fail | Fail | Fail | 0.0 |
| Papayawhip text on white | 1.13:1 | Fail | Fail | Fail | Fail | 0.0 |
| Papayawhip text on black | 18.55:1 | Pass | Pass | Pass | Pass | −98.6 |
Tints and shades
Each step mixes papayawhip with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, papayawhip, white 25%) in CSS.
Tints (mixed with white)
- 5%
#fff0d7 - 15%
#fff1db - 25%
#fff3e0 - 35%
#fff5e4 - 45%
#fff6e8 - 55%
#fff8ec - 65%
#fff9f0 - 75%
#fffbf5 - 85%
#fffdf9 - 95%
#fffefd
Shades (mixed with black)
- 5%
#f2e3ca - 15%
#d9cbb5 - 25%
#bfb3a0 - 35%
#a69b8a - 45%
#8c8375 - 55%
#736c60 - 65%
#59544b - 75%
#403c35 - 85%
#262420 - 95%
#0d0c0b
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, papayawhip's complementary color is #E3F2FF (close to aliceblue), its analogous colors are #FFEADB and #F2F4D7, and its triadic partners are #D4FAFB and #FDE9FF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #e3f2ff |
| Analogous | −30°, +30° | #ffeadb#f2f4d7 |
| Triadic | +120°, +240° | #d4fafb#fde9ff |
| Split-complementary | +150°, +210° | #d8f7ff#f0edff |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
PapayaWhip is a warm color: its hue is 37° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| blanchedalmond | #ffebcd | 1.2 |
| antiquewhite | #faebd7 | 1.4 |
| beige | #f5f5dc | 1.8 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| orange-100 | #ffedd4 | 0.5 |
| amber-100 | #fef3c6 | 2.5 |
| orange-50 | #fff7ed | 3.1 |
Code snippets
.element {
color: papayawhip;
background-color: #ffefd5;
border-color: rgb(255 239 213);
outline-color: oklch(95.8% 0.038 80);
}<div class="bg-[#ffefd5] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-papayawhip: #ffefd5;
}
/* then use bg-papayawhip, text-papayawhip, border-papayawhip */import SwiftUI
extension Color {
static let papayawhip = Color(red: 1.000, green: 0.937, blue: 0.835)
}import androidx.compose.ui.graphics.Color
val Papayawhip = Color(0xFFFFEFD5)import 'package:flutter/material.dart';
const papayawhip = Color(0xFFFFEFD5);<!-- res/values/colors.xml -->
<color name="papayawhip">#FFEFD5</color>Frequently asked questions
- What is the hex code for papayawhip?
- The hex code for papayawhip is #FFEFD5. The same color is rgb(255, 239, 213), hsl(37, 100%, 92%) and oklch(95.8% 0.038 80), and in CSS you can also write the keyword papayawhip directly.
- Is papayawhip a warm or cool color?
- PapayaWhip is a warm color: its hue is 37° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
- What colors go with papayawhip?
- Rotating the hue in OKLCH while keeping lightness and chroma, papayawhip's complementary color is #E3F2FF (close to aliceblue), its analogous colors are #FFEADB and #F2F4D7, and its triadic partners are #D4FAFB and #FDE9FF. For text on top, black gives the higher contrast.
- Can you use white text on papayawhip?
- White text on papayawhip has a contrast ratio of 1.13:1, which fails AA even for large text under WCAG 2.2. Black text reaches 18.55:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 97.6 for black.
- What is the RGB value of papayawhip?
- PapayaWhip is rgb(255, 239, 213): red 255, green 239 and blue 213 on the 0 to 255 scale, or 100.0%, 93.7% and 83.5%. As a decimal integer it is 16773077.
Last reviewed by Arielton Oberek.