HSL(145, 74%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(145,74%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(145, 74%, 27%) | color: hsl(145, 74%, 27%) | |
| HEX | #12783C | color: #12783C | |
| RGB | rgb(18, 120, 60) | color: rgb(18, 120, 60) | |
| CMYK | cmyk(85%, 0%, 50%, 53%) | — | |
| HSV | hsv(145, 85%, 47%) | — | |
| HWB | hwb(145 7% 53%) | color: hwb(145 7% 53%) | |
| OKLCH | oklch(0.5038 0.128 151.25) | color: oklch(0.5038 0.128 151.25) | |
| Lab | lab(44.07 -41.82 25.23) | color: lab(44.07 -41.82 25.23) | |
| LCH | lch(44.07 48.84 148.9) | color: lch(44.07 48.84 148.9) |
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)
#3E3F4B — rgb(62, 63, 75)
Deuteranopia (Green-blind)
#38314E — rgb(56, 49, 78)
Tritanopia (Blue-blind)
#175659 — rgb(23, 86, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(145, 74%, 27%);
text
color: hsl(145, 74%, 27%);
border
border: 2px solid hsl(145, 74%, 27%);
gradient light
background: linear-gradient(to right, hsl(145, 74%, 47%), hsl(145, 74%, 27%));
gradient dark
background: linear-gradient(to right, hsl(145, 74%, 27%), hsl(145, 74%, 7%))
hex
background-color: #12783C;
tailwind
bg-[hsl(145,74%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(145, 74%, 27%, 0.4);
css variable
--color-primary: hsl(145, 74%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(145, 74%, 27%)?
HEX: #12783C | RGB: rgb(18, 120, 60) | CMYK: 85%, 0%, 50%, 53% | HSV: 145°, 85%, 47%. Copy any format from the conversion table above.
What colors go well with #12783C?
The complementary color is HSL(325, 74%, 27%). For a triadic harmony, use hues 145°, 265°, and 25°. For analogous combinations, try hues 115° and 175°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(145, 74%, 27%) in CSS?
As HSL: color: hsl(145, 74%, 27%); — As HEX: color: #12783C; — As RGB: color: rgb(18, 120, 60); — Tailwind CSS: bg-[hsl(145,74%,27%)] — CSS variable: --color-primary: hsl(145, 74%, 27%);