HSL(96, 20%, 81%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(96,20%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(96, 20%, 81%) | color: hsl(96, 20%, 81%) | |
| HEX | #CDD8C5 | color: #CDD8C5 | |
| RGB | rgb(205, 216, 197) | color: rgb(205, 216, 197) | |
| CMYK | cmyk(5%, 0%, 9%, 15%) | — | |
| HSV | hsv(95, 9%, 85%) | — | |
| HWB | hwb(95 77% 15%) | color: hwb(95 77% 15%) | |
| OKLCH | oklch(0.8686 0.0283 131.83) | color: oklch(0.8686 0.0283 131.83) | |
| Lab | lab(85.06 -7.13 8.09) | color: lab(85.06 -7.13 8.09) | |
| LCH | lch(85.06 10.78 131.39) | color: lch(85.06 10.78 131.39) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#D2D2CA — rgb(210, 210, 202)
Deuteranopia (Green-blind)
#D1D0CB — rgb(209, 208, 203)
Tritanopia (Blue-blind)
#CECDCE — rgb(206, 205, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(96, 20%, 81%);
text
color: hsl(96, 20%, 81%);
border
border: 2px solid hsl(96, 20%, 81%);
gradient light
background: linear-gradient(to right, hsl(96, 20%, 100%), hsl(96, 20%, 81%));
gradient dark
background: linear-gradient(to right, hsl(96, 20%, 81%), hsl(96, 20%, 61%))
hex
background-color: #CDD8C5;
tailwind
bg-[hsl(96,20%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(96, 20%, 81%, 0.4);
css variable
--color-primary: hsl(96, 20%, 81%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(96, 20%, 81%)?
HEX: #CDD8C5 | RGB: rgb(205, 216, 197) | CMYK: 5%, 0%, 9%, 15% | HSV: 95°, 9%, 85%. Copy any format from the conversion table above.
What colors go well with #CDD8C5?
The complementary color is HSL(276, 20%, 81%). For a triadic harmony, use hues 96°, 216°, and 336°. For analogous combinations, try hues 66° and 126°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(96, 20%, 81%) in CSS?
As HSL: color: hsl(96, 20%, 81%); — As HEX: color: #CDD8C5; — As RGB: color: rgb(205, 216, 197); — Tailwind CSS: bg-[hsl(96,20%,81%)] — CSS variable: --color-primary: hsl(96, 20%, 81%);