HSL(97, 74%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,74%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 74%, 45%) | color: hsl(97, 74%, 45%) | |
| HEX | #5FC81E | color: #5FC81E | |
| RGB | rgb(95, 200, 30) | color: rgb(95, 200, 30) | |
| CMYK | cmyk(53%, 0%, 85%, 22%) | — | |
| HSV | hsv(97, 85%, 78%) | — | |
| HWB | hwb(97 12% 22%) | color: hwb(97 12% 22%) | |
| OKLCH | oklch(0.7408 0.2156 137.17) | color: oklch(0.7408 0.2156 137.17) | |
| Lab | lab(72.12 -56.88 66.99) | color: lab(72.12 -56.88 66.99) | |
| LCH | lch(72.12 87.88 130.33) | color: lch(72.12 87.88 130.33) |
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)
#8C8D47 — rgb(140, 141, 71)
Deuteranopia (Green-blind)
#867F51 — rgb(134, 127, 81)
Tritanopia (Blue-blind)
#64686F — rgb(100, 104, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 74%, 45%);
text
color: hsl(97, 74%, 45%);
border
border: 2px solid hsl(97, 74%, 45%);
gradient light
background: linear-gradient(to right, hsl(97, 74%, 65%), hsl(97, 74%, 45%));
gradient dark
background: linear-gradient(to right, hsl(97, 74%, 45%), hsl(97, 74%, 25%))
hex
background-color: #5FC81E;
tailwind
bg-[hsl(97,74%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 74%, 45%, 0.4);
css variable
--color-primary: hsl(97, 74%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 74%, 45%)?
HEX: #5FC81E | RGB: rgb(95, 200, 30) | CMYK: 53%, 0%, 85%, 22% | HSV: 97°, 85%, 78%. Copy any format from the conversion table above.
What colors go well with #5FC81E?
The complementary color is HSL(277, 74%, 45%). 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, 74%, 45%) in CSS?
As HSL: color: hsl(97, 74%, 45%); — As HEX: color: #5FC81E; — As RGB: color: rgb(95, 200, 30); — Tailwind CSS: bg-[hsl(97,74%,45%)] — CSS variable: --color-primary: hsl(97, 74%, 45%);