HSL(112, 51%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,51%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 51%, 15%) | color: hsl(112, 51%, 15%) | |
| HEX | #183A13 | color: #183A13 | |
| RGB | rgb(24, 58, 19) | color: rgb(24, 58, 19) | |
| CMYK | cmyk(59%, 0%, 67%, 77%) | — | |
| HSV | hsv(112, 67%, 23%) | — | |
| HWB | hwb(112 8% 77%) | color: hwb(112 8% 77%) | |
| OKLCH | oklch(0.3124 0.0759 141.18) | color: oklch(0.3124 0.0759 141.18) | |
| Lab | lab(21.08 -21.64 20.17) | color: lab(21.08 -21.64 20.17) | |
| LCH | lch(21.08 29.58 137.01) | color: lch(21.08 29.58 137.01) |
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)
#27271C — rgb(39, 39, 28)
Deuteranopia (Green-blind)
#25221F — rgb(37, 34, 31)
Tritanopia (Blue-blind)
#1A2426 — rgb(26, 36, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 51%, 15%);
text
color: hsl(112, 51%, 15%);
border
border: 2px solid hsl(112, 51%, 15%);
gradient light
background: linear-gradient(to right, hsl(112, 51%, 35%), hsl(112, 51%, 15%));
gradient dark
background: linear-gradient(to right, hsl(112, 51%, 15%), hsl(112, 51%, 0%))
hex
background-color: #183A13;
tailwind
bg-[hsl(112,51%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 51%, 15%, 0.4);
css variable
--color-primary: hsl(112, 51%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 51%, 15%)?
HEX: #183A13 | RGB: rgb(24, 58, 19) | CMYK: 59%, 0%, 67%, 77% | HSV: 112°, 67%, 23%. Copy any format from the conversion table above.
What colors go well with #183A13?
The complementary color is HSL(292, 51%, 15%). 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, 51%, 15%) in CSS?
As HSL: color: hsl(112, 51%, 15%); — As HEX: color: #183A13; — As RGB: color: rgb(24, 58, 19); — Tailwind CSS: bg-[hsl(112,51%,15%)] — CSS variable: --color-primary: hsl(112, 51%, 15%);