Cocoon
Cocoon is a very light, muted amber color with the hex code #DEDBCC (hue 50°, saturation 21%, lightness 84%).
- HEX
#DEDBCC - RGB
rgb(222 219 204) - HSL
hsl(50 21% 84%) - OKLCH
oklch(89.0% 0.020 98)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Cocoon | #DEDBCC | 222, 219, 204 | 50°, 21%, 84% | 0, 1, 8, 13 | 89.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.
- HEX
#DEDBCC - RGB
rgb(222 219 204) - HSL
hsl(50 21% 84%)
Variations of Cocoon
Text on Cocoon
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
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
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.
- Cocoon Complementary Color Scheme#DEDBCC#F6F4EF#CCCFE2#9FA3C0#EEF2F3
- Cocoon Analogous Color Scheme#E2C9CE#E3D1CC#DEDBCC#DBE2CC#CCE2CA
- Cocoon Triadic Color Scheme#DEDBCC#CAE1DA#DCCAE0#F6F4EF#9BC2BD
- Cocoon Split-complementary Color Scheme#DEDBCC#C9D9E0#D1CAE1#C5BD9C#EEF2F3
- Cocoon Tetradic Color Scheme#DEDBCC#C9E2CF#CCCFE2#E1CBDA#F6F4EF
- Cocoon Monochromatic Color Scheme#A0956F#C2B99D#DEDBCC#F4F4F0#F4F4F0
Nearest CSS named colors
- Gainsboro (
gainsboro): Gainsboro (#DCDCDC) is about as light as Cocoon (relative luminance 0.716 vs 0.706) and less saturated. - Light Gray (
lightgray): Light Gray (#D3D3D3) is darker than Cocoon (relative luminance 0.651 vs 0.706) and less saturated. - Wheat (CSS) (
wheat): Wheat (CSS) (#F5DEB3) is lighter than Cocoon (relative luminance 0.749 vs 0.706) and more saturated, with its hue 11° away. - Peach Puff (
peachpuff): Peach Puff (#FFDAB9) is lighter than Cocoon (relative luminance 0.749 vs 0.706) and more saturated, with its hue 22° away.
Gradients with Cocoon
Similar very light yellow colors
- Au Clair de la Lune#F4F2E2
- Banan-Appeal#FAF3A6
- Banana Cream#FFF49C
- Banana Milk#FFF7AD
- Banana Split#F7EEC8
- Blanc Cassé#F1EEE2
- Blanco#EBEAE5
- Bleached Sunflower#FBE8A8
- Blond#FAF0BE
- Bollywood Gold#FFFBAB
- Bullet Hell#FAF1C8
- Butter Honey#F5E5AB
- Buttered#ECE2B7
- Buttered Popcorn#FFF0A4
- Buttered Up#F7F0D2
- Buttermelon#FFF7DB
- Buttermilk#FFFEE4
- Calcium Rock#EEE9D9
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.