HSL(97, 47%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,47%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 47%, 31%) | color: hsl(97, 47%, 31%) | |
| HEX | #46742A | color: #46742A | |
| RGB | rgb(70, 116, 42) | color: rgb(70, 116, 42) | |
| CMYK | cmyk(40%, 0%, 64%, 55%) | — | |
| HSV | hsv(97, 64%, 45%) | — | |
| HWB | hwb(97 16% 55%) | color: hwb(97 16% 55%) | |
| OKLCH | oklch(0.5086 0.1164 135.43) | color: oklch(0.5086 0.1164 135.43) | |
| Lab | lab(44.17 -29.89 35.12) | color: lab(44.17 -29.89 35.12) | |
| LCH | lch(44.17 46.12 130.4) | color: lch(44.17 46.12 130.4) |
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)
#5A5A3C — rgb(90, 90, 60)
Deuteranopia (Green-blind)
#575440 — rgb(87, 84, 64)
Tritanopia (Blue-blind)
#484A4D — rgb(72, 74, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 47%, 31%);
text
color: hsl(97, 47%, 31%);
border
border: 2px solid hsl(97, 47%, 31%);
gradient light
background: linear-gradient(to right, hsl(97, 47%, 51%), hsl(97, 47%, 31%));
gradient dark
background: linear-gradient(to right, hsl(97, 47%, 31%), hsl(97, 47%, 11%))
hex
background-color: #46742A;
tailwind
bg-[hsl(97,47%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 47%, 31%, 0.4);
css variable
--color-primary: hsl(97, 47%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 47%, 31%)?
HEX: #46742A | RGB: rgb(70, 116, 42) | CMYK: 40%, 0%, 64%, 55% | HSV: 97°, 64%, 45%. Copy any format from the conversion table above.
What colors go well with #46742A?
The complementary color is HSL(277, 47%, 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, 47%, 31%) in CSS?
As HSL: color: hsl(97, 47%, 31%); — As HEX: color: #46742A; — As RGB: color: rgb(70, 116, 42); — Tailwind CSS: bg-[hsl(97,47%,31%)] — CSS variable: --color-primary: hsl(97, 47%, 31%);