Inspect PapayaWhip (#FFEFD5) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
PapayaWhip
#FFEFD5
Black text reads best on this background, at 18.56:1.
PapayaWhip is one of the 148 CSS named colors, and resolves to #FFEFD5 in every browser. In numbers that is rgb(255, 239, 213) and hsl(37, 100%, 92%). Perceptually it is a very light, near-neutral color: OKLCH puts its lightness at 96% and its chroma at 0.038. It sits in the yellows at 80 degrees of OKLCH hue, and reads as a neutral color.
White text only reaches 1.13:1 here, so black text is the safer pairing at 18.56:1. Because it is this light, PapayaWhip works best as a page or card background with dark text over it.
The closest CSS named colors to PapayaWhip, measured with CIEDE2000, are BlanchedAlmond (#FFEBCD), AntiqueWhite (#FAEBD7), OldLace (#FDF5E6). If PapayaWhip is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#FFEFD5
RGB
rgb(255, 239, 213)
HSL
hsl(37, 100%, 92%)
HWB
hwb(37 84% 0%)
CMYK
cmyk(0%, 6%, 16%, 0%)
LAB
lab(95.23 2.54 14.68)
LCH
lch(95.23 14.89 80.19)
OKLCH
oklch(95.81% 0.0383 80.03)
WCAG asks for 4.5:1 between body text and its background. On #FFEFD5 white text measures 1.13:1 and black text 18.56:1, so black clears it and white does not.
White text on PapayaWhip
WCAG 2.2
1.13:1
APCA
Lc 0
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on PapayaWhip
WCAG 2.2
18.56:1
APCA
Lc 97
Passes AA body text
Passes AAA body text
Passes AA large text
Check PapayaWhip against any other color in the contrast checker.
PapayaWhip sits at 96% OKLCH lightness. Holding its hue and chroma and moving only that value carries it down to #0A0500, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#C8B9A0
20% darker
#93856D
40% darker
#62553E
60% darker
#352914
80% darker
#0A0500
100% darker
Build a full accessible scale from #FFEFD5 in the shade generator.
Hues rotated around #FFEFD5 in OKLCH, then pulled back into the sRGB gamut. Each swatch is labelled with the nearest CSS named color so you have a keyword to start from.
PapayaWhip sits at 80 degrees. Rotating it a half turn lands on 260 degrees, the hue directly opposite. It is the strongest pairing you can make without changing lightness, and the one most likely to vibrate if you use both at full chroma.
The neighbors of PapayaWhip at 50 and 110 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
80, 200 and 320 degrees divide the wheel into thirds. Balanced enough to carry a whole palette without one color dominating the other two.
Instead of the complement at 260 degrees, this pair flanks it at 230 and 290. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around PapayaWhip on the color wheel.
The biggest shift is under tritanopia, where #FFEFD5 reads as #FFEAE7, 11.4 CIEDE2000 units away. If PapayaWhip is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#F7EED4
Deuteranopia
#FBF2D6
Tritanopia
#FFEAE7
Achromatopsia
#F1F1F0
The nearest CSS keywords to #FFEFD5, ranked by perceptual distance rather than by how close their hex digits happen to look.