HSL(112, 95%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,95%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 95%, 27%) | color: hsl(112, 95%, 27%) | |
| HEX | #158603 | color: #158603 | |
| RGB | rgb(21, 134, 3) | color: rgb(21, 134, 3) | |
| CMYK | cmyk(84%, 0%, 98%, 47%) | — | |
| HSV | hsv(112, 98%, 53%) | — | |
| HWB | hwb(112 1% 47%) | color: hwb(112 1% 47%) | |
| OKLCH | oklch(0.5396 0.1789 141.7) | color: oklch(0.5396 0.1789 141.7) | |
| Lab | lab(48.53 -51.52 51.24) | color: lab(48.53 -51.52 51.24) | |
| LCH | lch(48.53 72.66 135.16) | color: lch(48.53 72.66 135.16) |
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)
#464723 — rgb(70, 71, 35)
Deuteranopia (Green-blind)
#3F372A — rgb(63, 55, 42)
Tritanopia (Blue-blind)
#1B3C41 — rgb(27, 60, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 95%, 27%);
text
color: hsl(112, 95%, 27%);
border
border: 2px solid hsl(112, 95%, 27%);
gradient light
background: linear-gradient(to right, hsl(112, 95%, 47%), hsl(112, 95%, 27%));
gradient dark
background: linear-gradient(to right, hsl(112, 95%, 27%), hsl(112, 95%, 7%))
hex
background-color: #158603;
tailwind
bg-[hsl(112,95%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 95%, 27%, 0.4);
css variable
--color-primary: hsl(112, 95%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 95%, 27%)?
HEX: #158603 | RGB: rgb(21, 134, 3) | CMYK: 84%, 0%, 98%, 47% | HSV: 112°, 98%, 53%. Copy any format from the conversion table above.
What colors go well with #158603?
The complementary color is HSL(292, 95%, 27%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(112, 95%, 27%) in CSS?
As HSL: color: hsl(112, 95%, 27%); — As HEX: color: #158603; — As RGB: color: rgb(21, 134, 3); — Tailwind CSS: bg-[hsl(112,95%,27%)] — CSS variable: --color-primary: hsl(112, 95%, 27%);