HSL(138, 40%, 71%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(138,40%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(138, 40%, 71%) | color: hsl(138, 40%, 71%) | |
| HEX | #97D3A9 | color: #97D3A9 | |
| RGB | rgb(151, 211, 169) | color: rgb(151, 211, 169) | |
| CMYK | cmyk(28%, 0%, 20%, 17%) | — | |
| HSV | hsv(138, 28%, 83%) | — | |
| HWB | hwb(138 60% 17%) | color: hwb(138 60% 17%) | |
| OKLCH | oklch(0.8145 0.0854 153.67) | color: oklch(0.8145 0.0854 153.67) | |
| Lab | lab(79.63 -27.73 14.74) | color: lab(79.63 -27.73 14.74) | |
| LCH | lch(79.63 31.4 152.01) | color: lch(79.63 31.4 152.01) |
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)
#B1B2B3 — rgb(177, 178, 179)
Deuteranopia (Green-blind)
#AEA9B6 — rgb(174, 169, 182)
Tritanopia (Blue-blind)
#9ABBBD — rgb(154, 187, 189)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(138, 40%, 71%);
text
color: hsl(138, 40%, 71%);
border
border: 2px solid hsl(138, 40%, 71%);
gradient light
background: linear-gradient(to right, hsl(138, 40%, 91%), hsl(138, 40%, 71%));
gradient dark
background: linear-gradient(to right, hsl(138, 40%, 71%), hsl(138, 40%, 51%))
hex
background-color: #97D3A9;
tailwind
bg-[hsl(138,40%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(138, 40%, 71%, 0.4);
css variable
--color-primary: hsl(138, 40%, 71%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(138, 40%, 71%)?
HEX: #97D3A9 | RGB: rgb(151, 211, 169) | CMYK: 28%, 0%, 20%, 17% | HSV: 138°, 28%, 83%. Copy any format from the conversion table above.
What colors go well with #97D3A9?
The complementary color is HSL(318, 40%, 71%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(138, 40%, 71%) in CSS?
As HSL: color: hsl(138, 40%, 71%); — As HEX: color: #97D3A9; — As RGB: color: rgb(151, 211, 169); — Tailwind CSS: bg-[hsl(138,40%,71%)] — CSS variable: --color-primary: hsl(138, 40%, 71%);