Palettes / Colors / #DEF2CC
#DEF2CC — Pale Green
#DEF2CC is a green color we call Pale Green, closest to the named color Gainsboro (#DCDCDC). It belongs to the green family.
Color name
Closest CSS keyword: gainsboro (#DCDCDC) — not an exact match. CSS gainsboro gives you #DCDCDC, a different color; use #DEF2CC when you need this exact shade.
Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.
#DEF2CC is a warm-leaning green color associated with growth, calm and balance. It is light enough to work as a background or base color, with darker text on top.
Its strongest partner is its complement #DFCAF1; it also sits naturally between #F0F1CA and #CAF1CC. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #DEF2CC |
|---|---|
| RGB | 222, 242, 204 |
| HSL | 92°, 59%, 87% |
| HSV | 92°, 16%, 95% |
| CMYK | 8%, 0%, 16%, 5% |
| XYZ | 72.78, 83.39, 69.39 |
| Yxy | 83.39, 0.3226, 0.3697 |
| CIE-Lab | 93.19, -13.21, 16.14 |
| Hunter Lab | 91.32, -12.88, 14.44 |
RGB & CMYK percentages
Red 87% · Green 95% · Blue 80%
Cyan 8% · Magenta 0% · Yellow 16% · Key 5%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #DEF2CC
.text { color: #DEF2CC; }
.background { background-color: #DEF2CC; }
.border { border: 3px solid #DEF2CC; }
.text-rgb { color: rgb(222, 242, 204); }
.text-hsl { color: hsl(92, 59%, 87%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DEF2CC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(222, 242, 204, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DEF2CC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(222, 242, 204, 0.8); }
HTML: <p style="color:#DEF2CC">Text here</p> · <div style="background-color:#DEF2CC">Div content here</div>
Shades of #DEF2CC
Tints of #DEF2CC
Tones of #DEF2CC
Color harmonies
Complementary — #DFCAF1:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 1.19:1 Fails |
|---|---|
| Against black text | 17.68:1 AAA |
Best text color on #DEF2CC: #000000.
Semi-transparent (opacity) text on #DEF2CC
Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:
Smaller body text shows the effect best.
Blended color: · Contrast against #DEF2CC: ·
How #DEF2CC looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #DEF2CC rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #DEF2CC?
#DEF2CC is Pale Green, a green color (RGB 222, 242, 204). Its closest standard named color is Gainsboro.
What is the RGB and HSL of #DEF2CC?
#DEF2CC is RGB 222, 242, 204 — HSL 92°, 59%, 87% — CMYK 8%, 0%, 16%, 5%.
What colors go with #DEF2CC?
Its complement is #DFCAF1; analogous partners are #F0F1CA and #CAF1CC. It also appears in 6+ palettes in our collection.
Can I use #DEF2CC for text?
Black text on #DEF2CC has a contrast ratio of 17.68:1 (passes WCAG AA); white text gives 1.19:1.