HSL(72, 40%, 80%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(72,40%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(72, 40%, 80%) | color: hsl(72, 40%, 80%) | |
| HEX | #D8E0B8 | color: #D8E0B8 | |
| RGB | rgb(216, 224, 184) | color: rgb(216, 224, 184) | |
| CMYK | cmyk(4%, 0%, 18%, 12%) | — | |
| HSV | hsv(72, 18%, 88%) | — | |
| HWB | hwb(72 72% 12%) | color: hwb(72 72% 12%) | |
| OKLCH | oklch(0.8903 0.0538 116.69) | color: oklch(0.8903 0.0538 116.69) | |
| Lab | lab(87.67 -9.44 18.72) | color: lab(87.67 -9.44 18.72) | |
| LCH | lch(87.67 20.97 116.76) | color: lch(87.67 20.97 116.76) |
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)
#DBDCC2 — rgb(219, 220, 194)
Deuteranopia (Green-blind)
#DBDAC4 — rgb(219, 218, 196)
Tritanopia (Blue-blind)
#D8C9CB — rgb(216, 201, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(72, 40%, 80%);
text
color: hsl(72, 40%, 80%);
border
border: 2px solid hsl(72, 40%, 80%);
gradient light
background: linear-gradient(to right, hsl(72, 40%, 100%), hsl(72, 40%, 80%));
gradient dark
background: linear-gradient(to right, hsl(72, 40%, 80%), hsl(72, 40%, 60%))
hex
background-color: #D8E0B8;
tailwind
bg-[hsl(72,40%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(72, 40%, 80%, 0.4);
css variable
--color-primary: hsl(72, 40%, 80%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(72, 40%, 80%)?
HEX: #D8E0B8 | RGB: rgb(216, 224, 184) | CMYK: 4%, 0%, 18%, 12% | HSV: 72°, 18%, 88%. Copy any format from the conversion table above.
What colors go well with #D8E0B8?
The complementary color is HSL(252, 40%, 80%). For a triadic harmony, use hues 72°, 192°, and 312°. For analogous combinations, try hues 42° and 102°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(72, 40%, 80%) in CSS?
As HSL: color: hsl(72, 40%, 80%); — As HEX: color: #D8E0B8; — As RGB: color: rgb(216, 224, 184); — Tailwind CSS: bg-[hsl(72,40%,80%)] — CSS variable: --color-primary: hsl(72, 40%, 80%);