Huebook

Cocoon

Cocoon is a very light, muted amber color with the hex code #DEDBCC (hue 50°, saturation 21%, lightness 84%).

#DEDBCC
NameHEXRGBHSLCMYKOKLCH
Cocoon#DEDBCC222, 219, 20450°, 21%, 84%0, 1, 8, 1389.0% 0.020 98

Contrast with white text 1.39:1, with black text 15.11:1 — use black text on Cocoon.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Cocoon

Move the sliders to make Cocoon lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Cocoon
  • HEX#DEDBCC
  • RGBrgb(222 219 204)
  • HSLhsl(50 21% 84%)

Variations of Cocoon

Text on Cocoon

White textThe quick brown fox1.39:1 · AA fail · AAA fail
Black textThe quick brown fox15.11:1 · AA pass · AAA pass

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Cocoon with color blindness

Normal #DEDBCC
Protanopia #DEDACB
Deuteranopia #DFDBCC
Tritanopia #E1D9D7

How Cocoon appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#EBE9E0
#CDC8B2
#AFA883
#8B835A
#5D573C
#2E2C1E

Colors that go with Cocoon

Six color schemes built on Cocoon with classic harmony rules. The complementary scheme pairs it with Wildflower Prairie (#CCCFE2), the color opposite it on the color wheel.

Nearest CSS named colors

Gradients with Cocoon

Similar very light yellow colors

Questions

What is the hex code for Cocoon?

#DEDBCC — RGB 222, 219, 204, HSL 50°, 21%, 84%.

Is Cocoon a warm or cool color?

Warm — its hue sits at 50° on the color wheel.