HSL(97, 37%, 52%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,37%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 37%, 52%) | color: hsl(97, 37%, 52%) | |
| HEX | #7AB257 | color: #7AB257 | |
| RGB | rgb(122, 178, 87) | color: rgb(122, 178, 87) | |
| CMYK | cmyk(31%, 0%, 51%, 30%) | — | |
| HSV | hsv(97, 51%, 70%) | — | |
| HWB | hwb(97 34% 30%) | color: hwb(97 34% 30%) | |
| OKLCH | oklch(0.7038 0.1362 134.69) | color: oklch(0.7038 0.1362 134.69) | |
| Lab | lab(67.03 -34.69 40.45) | color: lab(67.03 -34.69 40.45) | |
| LCH | lch(67.03 53.29 130.62) | color: lch(67.03 53.29 130.62) |
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)
#92936D — rgb(146, 147, 109)
Deuteranopia (Green-blind)
#8F8B72 — rgb(143, 139, 114)
Tritanopia (Blue-blind)
#7D7E82 — rgb(125, 126, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 37%, 52%);
text
color: hsl(97, 37%, 52%);
border
border: 2px solid hsl(97, 37%, 52%);
gradient light
background: linear-gradient(to right, hsl(97, 37%, 72%), hsl(97, 37%, 52%));
gradient dark
background: linear-gradient(to right, hsl(97, 37%, 52%), hsl(97, 37%, 32%))
hex
background-color: #7AB257;
tailwind
bg-[hsl(97,37%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 37%, 52%, 0.4);
css variable
--color-primary: hsl(97, 37%, 52%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 37%, 52%)?
HEX: #7AB257 | RGB: rgb(122, 178, 87) | CMYK: 31%, 0%, 51%, 30% | HSV: 97°, 51%, 70%. Copy any format from the conversion table above.
What colors go well with #7AB257?
The complementary color is HSL(277, 37%, 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, 37%, 52%) in CSS?
As HSL: color: hsl(97, 37%, 52%); — As HEX: color: #7AB257; — As RGB: color: rgb(122, 178, 87); — Tailwind CSS: bg-[hsl(97,37%,52%)] — CSS variable: --color-primary: hsl(97, 37%, 52%);