HSL(97, 40%, 52%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,40%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 40%, 52%) | color: hsl(97, 40%, 52%) | |
| HEX | #79B654 | color: #79B654 | |
| RGB | rgb(121, 182, 84) | color: rgb(121, 182, 84) | |
| CMYK | cmyk(34%, 0%, 54%, 29%) | — | |
| HSV | hsv(97, 54%, 71%) | — | |
| HWB | hwb(97 33% 29%) | color: hwb(97 33% 29%) | |
| OKLCH | oklch(0.7126 0.1453 135.04) | color: oklch(0.7126 0.1453 135.04) | |
| Lab | lab(68.14 -37.21 43.24) | color: lab(68.14 -37.21 43.24) | |
| LCH | lch(68.14 57.05 130.71) | color: lch(68.14 57.05 130.71) |
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)
#93946C — rgb(147, 148, 108)
Deuteranopia (Green-blind)
#908B71 — rgb(144, 139, 113)
Tritanopia (Blue-blind)
#7C7E83 — rgb(124, 126, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 40%, 52%);
text
color: hsl(97, 40%, 52%);
border
border: 2px solid hsl(97, 40%, 52%);
gradient light
background: linear-gradient(to right, hsl(97, 40%, 72%), hsl(97, 40%, 52%));
gradient dark
background: linear-gradient(to right, hsl(97, 40%, 52%), hsl(97, 40%, 32%))
hex
background-color: #79B654;
tailwind
bg-[hsl(97,40%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 40%, 52%, 0.4);
css variable
--color-primary: hsl(97, 40%, 52%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 40%, 52%)?
HEX: #79B654 | RGB: rgb(121, 182, 84) | CMYK: 34%, 0%, 54%, 29% | HSV: 97°, 54%, 71%. Copy any format from the conversion table above.
What colors go well with #79B654?
The complementary color is HSL(277, 40%, 52%). 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, 40%, 52%) in CSS?
As HSL: color: hsl(97, 40%, 52%); — As HEX: color: #79B654; — As RGB: color: rgb(121, 182, 84); — Tailwind CSS: bg-[hsl(97,40%,52%)] — CSS variable: --color-primary: hsl(97, 40%, 52%);