HSL(97, 90%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,90%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 90%, 18%) | color: hsl(97, 90%, 18%) | |
| HEX | #245705 | color: #245705 | |
| RGB | rgb(36, 87, 5) | color: rgb(36, 87, 5) | |
| CMYK | cmyk(59%, 0%, 94%, 66%) | — | |
| HSV | hsv(97, 94%, 34%) | — | |
| HWB | hwb(97 2% 66%) | color: hwb(97 2% 66%) | |
| OKLCH | oklch(0.4056 0.12 137.37) | color: oklch(0.4056 0.12 137.37) | |
| Lab | lab(32.26 -31.78 37.33) | color: lab(32.26 -31.78 37.33) | |
| LCH | lch(32.26 49.03 130.41) | color: lch(32.26 49.03 130.41) |
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)
#3A3B19 — rgb(58, 59, 25)
Deuteranopia (Green-blind)
#37331E — rgb(55, 51, 30)
Tritanopia (Blue-blind)
#27292C — rgb(39, 41, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 90%, 18%);
text
color: hsl(97, 90%, 18%);
border
border: 2px solid hsl(97, 90%, 18%);
gradient light
background: linear-gradient(to right, hsl(97, 90%, 38%), hsl(97, 90%, 18%));
gradient dark
background: linear-gradient(to right, hsl(97, 90%, 18%), hsl(97, 90%, 0%))
hex
background-color: #245705;
tailwind
bg-[hsl(97,90%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 90%, 18%, 0.4);
css variable
--color-primary: hsl(97, 90%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 90%, 18%)?
HEX: #245705 | RGB: rgb(36, 87, 5) | CMYK: 59%, 0%, 94%, 66% | HSV: 97°, 94%, 34%. Copy any format from the conversion table above.
What colors go well with #245705?
The complementary color is HSL(277, 90%, 18%). 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, 90%, 18%) in CSS?
As HSL: color: hsl(97, 90%, 18%); — As HEX: color: #245705; — As RGB: color: rgb(36, 87, 5); — Tailwind CSS: bg-[hsl(97,90%,18%)] — CSS variable: --color-primary: hsl(97, 90%, 18%);