HSL(97, 30%, 38%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,30%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 30%, 38%) | color: hsl(97, 30%, 38%) | |
| HEX | #5A7E44 | color: #5A7E44 | |
| RGB | rgb(90, 126, 68) | color: rgb(90, 126, 68) | |
| CMYK | cmyk(29%, 0%, 46%, 51%) | — | |
| HSV | hsv(97, 46%, 49%) | — | |
| HWB | hwb(97 26% 51%) | color: hwb(97 26% 51%) | |
| OKLCH | oklch(0.5512 0.094 134.55) | color: oklch(0.5512 0.094 134.55) | |
| Lab | lab(48.9 -23.98 27.51) | color: lab(48.9 -23.98 27.51) | |
| LCH | lch(48.9 36.49 131.08) | color: lch(48.9 36.49 131.08) |
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)
#6A6A52 — rgb(106, 106, 82)
Deuteranopia (Green-blind)
#686555 — rgb(104, 101, 85)
Tritanopia (Blue-blind)
#5C5D60 — rgb(92, 93, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 30%, 38%);
text
color: hsl(97, 30%, 38%);
border
border: 2px solid hsl(97, 30%, 38%);
gradient light
background: linear-gradient(to right, hsl(97, 30%, 58%), hsl(97, 30%, 38%));
gradient dark
background: linear-gradient(to right, hsl(97, 30%, 38%), hsl(97, 30%, 18%))
hex
background-color: #5A7E44;
tailwind
bg-[hsl(97,30%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 30%, 38%, 0.4);
css variable
--color-primary: hsl(97, 30%, 38%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 30%, 38%)?
HEX: #5A7E44 | RGB: rgb(90, 126, 68) | CMYK: 29%, 0%, 46%, 51% | HSV: 97°, 46%, 49%. Copy any format from the conversion table above.
What colors go well with #5A7E44?
The complementary color is HSL(277, 30%, 38%). 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, 30%, 38%) in CSS?
As HSL: color: hsl(97, 30%, 38%); — As HEX: color: #5A7E44; — As RGB: color: rgb(90, 126, 68); — Tailwind CSS: bg-[hsl(97,30%,38%)] — CSS variable: --color-primary: hsl(97, 30%, 38%);