HSL(97, 58%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,58%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 58%, 30%) | color: hsl(97, 58%, 30%) | |
| HEX | #427920 | color: #427920 | |
| RGB | rgb(66, 121, 32) | color: rgb(66, 121, 32) | |
| CMYK | cmyk(45%, 0%, 74%, 53%) | — | |
| HSV | hsv(97, 74%, 47%) | — | |
| HWB | hwb(97 12% 53%) | color: hwb(97 12% 53%) | |
| OKLCH | oklch(0.519 0.1336 135.97) | color: oklch(0.519 0.1336 135.97) | |
| Lab | lab(45.55 -34.52 41.01) | color: lab(45.55 -34.52 41.01) | |
| LCH | lch(45.55 53.6 130.09) | color: lch(45.55 53.6 130.09) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#5A5A36 — rgb(90, 90, 54)
Deuteranopia (Green-blind)
#57533B — rgb(87, 83, 59)
Tritanopia (Blue-blind)
#45474A — rgb(69, 71, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 58%, 30%);
text
color: hsl(97, 58%, 30%);
border
border: 2px solid hsl(97, 58%, 30%);
gradient light
background: linear-gradient(to right, hsl(97, 58%, 50%), hsl(97, 58%, 30%));
gradient dark
background: linear-gradient(to right, hsl(97, 58%, 30%), hsl(97, 58%, 10%))
hex
background-color: #427920;
tailwind
bg-[hsl(97,58%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 58%, 30%, 0.4);
css variable
--color-primary: hsl(97, 58%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 58%, 30%)?
HEX: #427920 | RGB: rgb(66, 121, 32) | CMYK: 45%, 0%, 74%, 53% | HSV: 97°, 74%, 47%. Copy any format from the conversion table above.
What colors go well with #427920?
The complementary color is HSL(277, 58%, 30%). 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, 58%, 30%) in CSS?
As HSL: color: hsl(97, 58%, 30%); — As HEX: color: #427920; — As RGB: color: rgb(66, 121, 32); — Tailwind CSS: bg-[hsl(97,58%,30%)] — CSS variable: --color-primary: hsl(97, 58%, 30%);