HSL(97, 31%, 38%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,31%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 31%, 38%) | color: hsl(97, 31%, 38%) | |
| HEX | #5A7F43 | color: #5A7F43 | |
| RGB | rgb(90, 127, 67) | color: rgb(90, 127, 67) | |
| CMYK | cmyk(29%, 0%, 47%, 50%) | — | |
| HSV | hsv(97, 47%, 50%) | — | |
| HWB | hwb(97 27% 50%) | color: hwb(97 27% 50%) | |
| OKLCH | oklch(0.5536 0.0967 134.48) | color: oklch(0.5536 0.0967 134.48) | |
| Lab | lab(49.2 -24.62 28.43) | color: lab(49.2 -24.62 28.43) | |
| LCH | lch(49.2 37.61 130.89) | color: lch(49.2 37.61 130.89) |
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, 31%, 38%);
text
color: hsl(97, 31%, 38%);
border
border: 2px solid hsl(97, 31%, 38%);
gradient light
background: linear-gradient(to right, hsl(97, 31%, 58%), hsl(97, 31%, 38%));
gradient dark
background: linear-gradient(to right, hsl(97, 31%, 38%), hsl(97, 31%, 18%))
hex
background-color: #5A7F43;
tailwind
bg-[hsl(97,31%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 31%, 38%, 0.4);
css variable
--color-primary: hsl(97, 31%, 38%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 31%, 38%)?
HEX: #5A7F43 | RGB: rgb(90, 127, 67) | CMYK: 29%, 0%, 47%, 50% | HSV: 97°, 47%, 50%. Copy any format from the conversion table above.
What colors go well with #5A7F43?
The complementary color is HSL(277, 31%, 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, 31%, 38%) in CSS?
As HSL: color: hsl(97, 31%, 38%); — As HEX: color: #5A7F43; — As RGB: color: rgb(90, 127, 67); — Tailwind CSS: bg-[hsl(97,31%,38%)] — CSS variable: --color-primary: hsl(97, 31%, 38%);