HSL(146, 60%, 42%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(146,60%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(146, 60%, 42%) | color: hsl(146, 60%, 42%) | |
| HEX | #2BAB63 | color: #2BAB63 | |
| RGB | rgb(43, 171, 99) | color: rgb(43, 171, 99) | |
| CMYK | cmyk(75%, 0%, 42%, 33%) | — | |
| HSV | hsv(146, 75%, 67%) | — | |
| HWB | hwb(146 17% 33%) | color: hwb(146 17% 33%) | |
| OKLCH | oklch(0.6562 0.1524 153.42) | color: oklch(0.6562 0.1524 153.42) | |
| Lab | lab(62.12 -50.59 27.5) | color: lab(62.12 -50.59 27.5) | |
| LCH | lch(62.12 57.58 151.47) | color: lch(62.12 57.58 151.47) |
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)
#626474 — rgb(98, 100, 116)
Deuteranopia (Green-blind)
#5B5179 — rgb(91, 81, 121)
Tritanopia (Blue-blind)
#318285 — rgb(49, 130, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(146, 60%, 42%);
text
color: hsl(146, 60%, 42%);
border
border: 2px solid hsl(146, 60%, 42%);
gradient light
background: linear-gradient(to right, hsl(146, 60%, 62%), hsl(146, 60%, 42%));
gradient dark
background: linear-gradient(to right, hsl(146, 60%, 42%), hsl(146, 60%, 22%))
hex
background-color: #2BAB63;
tailwind
bg-[hsl(146,60%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(146, 60%, 42%, 0.4);
css variable
--color-primary: hsl(146, 60%, 42%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(146, 60%, 42%)?
HEX: #2BAB63 | RGB: rgb(43, 171, 99) | CMYK: 75%, 0%, 42%, 33% | HSV: 146°, 75%, 67%. Copy any format from the conversion table above.
What colors go well with #2BAB63?
The complementary color is HSL(326, 60%, 42%). For a triadic harmony, use hues 146°, 266°, and 26°. For analogous combinations, try hues 116° and 176°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(146, 60%, 42%) in CSS?
As HSL: color: hsl(146, 60%, 42%); — As HEX: color: #2BAB63; — As RGB: color: rgb(43, 171, 99); — Tailwind CSS: bg-[hsl(146,60%,42%)] — CSS variable: --color-primary: hsl(146, 60%, 42%);