HSL(97, 35%, 34%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,35%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 35%, 34%) | color: hsl(97, 35%, 34%) | |
| HEX | #507538 | color: #507538 | |
| RGB | rgb(80, 117, 56) | color: rgb(80, 117, 56) | |
| CMYK | cmyk(32%, 0%, 52%, 54%) | — | |
| HSV | hsv(96, 52%, 46%) | — | |
| HWB | hwb(96 22% 54%) | color: hwb(96 22% 54%) | |
| OKLCH | oklch(0.5193 0.0984 134.38) | color: oklch(0.5193 0.0984 134.38) | |
| Lab | lab(45.24 -24.94 29.34) | color: lab(45.24 -24.94 29.34) | |
| LCH | lch(45.24 38.51 130.37) | color: lch(45.24 38.51 130.37) |
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)
#606047 — rgb(96, 96, 71)
Deuteranopia (Green-blind)
#5E5B4A — rgb(94, 91, 74)
Tritanopia (Blue-blind)
#525255 — rgb(82, 82, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 35%, 34%);
text
color: hsl(97, 35%, 34%);
border
border: 2px solid hsl(97, 35%, 34%);
gradient light
background: linear-gradient(to right, hsl(97, 35%, 54%), hsl(97, 35%, 34%));
gradient dark
background: linear-gradient(to right, hsl(97, 35%, 34%), hsl(97, 35%, 14%))
hex
background-color: #507538;
tailwind
bg-[hsl(97,35%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 35%, 34%, 0.4);
css variable
--color-primary: hsl(97, 35%, 34%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 35%, 34%)?
HEX: #507538 | RGB: rgb(80, 117, 56) | CMYK: 32%, 0%, 52%, 54% | HSV: 96°, 52%, 46%. Copy any format from the conversion table above.
What colors go well with #507538?
The complementary color is HSL(277, 35%, 34%). 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, 35%, 34%) in CSS?
As HSL: color: hsl(97, 35%, 34%); — As HEX: color: #507538; — As RGB: color: rgb(80, 117, 56); — Tailwind CSS: bg-[hsl(97,35%,34%)] — CSS variable: --color-primary: hsl(97, 35%, 34%);