HSL(142, 40%, 71%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,40%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 40%, 71%) | color: hsl(142, 40%, 71%) | |
| HEX | #97D3AD | color: #97D3AD | |
| RGB | rgb(151, 211, 173) | color: rgb(151, 211, 173) | |
| CMYK | cmyk(28%, 0%, 18%, 17%) | — | |
| HSV | hsv(142, 28%, 83%) | — | |
| HWB | hwb(142 60% 17%) | color: hwb(142 60% 17%) | |
| OKLCH | oklch(0.8154 0.0817 156.31) | color: oklch(0.8154 0.0817 156.31) | |
| Lab | lab(79.72 -26.97 12.74) | color: lab(79.72 -26.97 12.74) | |
| LCH | lch(79.72 29.83 154.72) | color: lch(79.72 29.83 154.72) |
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)
#B1B2B6 — rgb(177, 178, 182)
Deuteranopia (Green-blind)
#AEA9B8 — rgb(174, 169, 184)
Tritanopia (Blue-blind)
#9ABDBF — rgb(154, 189, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 40%, 71%);
text
color: hsl(142, 40%, 71%);
border
border: 2px solid hsl(142, 40%, 71%);
gradient light
background: linear-gradient(to right, hsl(142, 40%, 91%), hsl(142, 40%, 71%));
gradient dark
background: linear-gradient(to right, hsl(142, 40%, 71%), hsl(142, 40%, 51%))
hex
background-color: #97D3AD;
tailwind
bg-[hsl(142,40%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 40%, 71%, 0.4);
css variable
--color-primary: hsl(142, 40%, 71%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 40%, 71%)?
HEX: #97D3AD | RGB: rgb(151, 211, 173) | CMYK: 28%, 0%, 18%, 17% | HSV: 142°, 28%, 83%. Copy any format from the conversion table above.
What colors go well with #97D3AD?
The complementary color is HSL(322, 40%, 71%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(142, 40%, 71%) in CSS?
As HSL: color: hsl(142, 40%, 71%); — As HEX: color: #97D3AD; — As RGB: color: rgb(151, 211, 173); — Tailwind CSS: bg-[hsl(142,40%,71%)] — CSS variable: --color-primary: hsl(142, 40%, 71%);