HSL(97, 48%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,48%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 48%, 31%) | color: hsl(97, 48%, 31%) | |
| HEX | #467529 | color: #467529 | |
| RGB | rgb(70, 117, 41) | color: rgb(70, 117, 41) | |
| CMYK | cmyk(40%, 0%, 65%, 54%) | — | |
| HSV | hsv(97, 65%, 46%) | — | |
| HWB | hwb(97 16% 54%) | color: hwb(97 16% 54%) | |
| OKLCH | oklch(0.5112 0.1187 135.41) | color: oklch(0.5112 0.1187 135.41) | |
| Lab | lab(44.5 -30.46 35.95) | color: lab(44.5 -30.46 35.95) | |
| LCH | lch(44.5 47.12 130.27) | color: lch(44.5 47.12 130.27) |
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)
#5A5B3B — rgb(90, 91, 59)
Deuteranopia (Green-blind)
#585440 — rgb(88, 84, 64)
Tritanopia (Blue-blind)
#484A4D — rgb(72, 74, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 48%, 31%);
text
color: hsl(97, 48%, 31%);
border
border: 2px solid hsl(97, 48%, 31%);
gradient light
background: linear-gradient(to right, hsl(97, 48%, 51%), hsl(97, 48%, 31%));
gradient dark
background: linear-gradient(to right, hsl(97, 48%, 31%), hsl(97, 48%, 11%))
hex
background-color: #467529;
tailwind
bg-[hsl(97,48%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 48%, 31%, 0.4);
css variable
--color-primary: hsl(97, 48%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 48%, 31%)?
HEX: #467529 | RGB: rgb(70, 117, 41) | CMYK: 40%, 0%, 65%, 54% | HSV: 97°, 65%, 46%. Copy any format from the conversion table above.
What colors go well with #467529?
The complementary color is HSL(277, 48%, 31%). 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, 48%, 31%) in CSS?
As HSL: color: hsl(97, 48%, 31%); — As HEX: color: #467529; — As RGB: color: rgb(70, 117, 41); — Tailwind CSS: bg-[hsl(97,48%,31%)] — CSS variable: --color-primary: hsl(97, 48%, 31%);