HSL(97, 50%, 85%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,50%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 50%, 85%) | color: hsl(97, 50%, 85%) | |
| HEX | #D4ECC6 | color: #D4ECC6 | |
| RGB | rgb(212, 236, 198) | color: rgb(212, 236, 198) | |
| CMYK | cmyk(10%, 0%, 16%, 7%) | — | |
| HSV | hsv(98, 16%, 93%) | — | |
| HWB | hwb(98 78% 7%) | color: hwb(98 78% 7%) | |
| OKLCH | oklch(0.9155 0.0566 133.95) | color: oklch(0.9155 0.0566 133.95) | |
| Lab | lab(90.81 -14.65 15.81) | color: lab(90.81 -14.65 15.81) | |
| LCH | lch(90.81 21.55 132.82) | color: lch(90.81 21.55 132.82) |
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)
#DEDFCF — rgb(222, 223, 207)
Deuteranopia (Green-blind)
#DDDBD1 — rgb(221, 219, 209)
Tritanopia (Blue-blind)
#D5D6D8 — rgb(213, 214, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 50%, 85%);
text
color: hsl(97, 50%, 85%);
border
border: 2px solid hsl(97, 50%, 85%);
gradient light
background: linear-gradient(to right, hsl(97, 50%, 100%), hsl(97, 50%, 85%));
gradient dark
background: linear-gradient(to right, hsl(97, 50%, 85%), hsl(97, 50%, 65%))
hex
background-color: #D4ECC6;
tailwind
bg-[hsl(97,50%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 50%, 85%, 0.4);
css variable
--color-primary: hsl(97, 50%, 85%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 50%, 85%)?
HEX: #D4ECC6 | RGB: rgb(212, 236, 198) | CMYK: 10%, 0%, 16%, 7% | HSV: 98°, 16%, 93%. Copy any format from the conversion table above.
What colors go well with #D4ECC6?
The complementary color is HSL(277, 50%, 85%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(97, 50%, 85%) in CSS?
As HSL: color: hsl(97, 50%, 85%); — As HEX: color: #D4ECC6; — As RGB: color: rgb(212, 236, 198); — Tailwind CSS: bg-[hsl(97,50%,85%)] — CSS variable: --color-primary: hsl(97, 50%, 85%);