HSL(145, 74%, 42%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(145,74%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(145, 74%, 42%) | color: hsl(145, 74%, 42%) | |
| HEX | #1CBA5E | color: #1CBA5E | |
| RGB | rgb(28, 186, 94) | color: rgb(28, 186, 94) | |
| CMYK | cmyk(85%, 0%, 49%, 27%) | — | |
| HSV | hsv(145, 85%, 73%) | — | |
| HWB | hwb(145 11% 27%) | color: hwb(145 11% 27%) | |
| OKLCH | oklch(0.6929 0.1797 150.96) | color: oklch(0.6929 0.1797 150.96) | |
| Lab | lab(66.65 -58.58 35.85) | color: lab(66.65 -58.58 35.85) | |
| LCH | lch(66.65 68.68 148.53) | color: lch(66.65 68.68 148.53) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#606274 — rgb(96, 98, 116)
Deuteranopia (Green-blind)
#574B7A — rgb(87, 75, 122)
Tritanopia (Blue-blind)
#24868A — rgb(36, 134, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(145, 74%, 42%);
text
color: hsl(145, 74%, 42%);
border
border: 2px solid hsl(145, 74%, 42%);
gradient light
background: linear-gradient(to right, hsl(145, 74%, 62%), hsl(145, 74%, 42%));
gradient dark
background: linear-gradient(to right, hsl(145, 74%, 42%), hsl(145, 74%, 22%))
hex
background-color: #1CBA5E;
tailwind
bg-[hsl(145,74%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(145, 74%, 42%, 0.4);
css variable
--color-primary: hsl(145, 74%, 42%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(145, 74%, 42%)?
HEX: #1CBA5E | RGB: rgb(28, 186, 94) | CMYK: 85%, 0%, 49%, 27% | HSV: 145°, 85%, 73%. Copy any format from the conversion table above.
What colors go well with #1CBA5E?
The complementary color is HSL(325, 74%, 42%). 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%, 42%) in CSS?
As HSL: color: hsl(145, 74%, 42%); — As HEX: color: #1CBA5E; — As RGB: color: rgb(28, 186, 94); — Tailwind CSS: bg-[hsl(145,74%,42%)] — CSS variable: --color-primary: hsl(145, 74%, 42%);