HSL(126, 50%, 60%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(126,50%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 50%, 60%) | color: hsl(126, 50%, 60%) | |
| HEX | #66CC70 | color: #66CC70 | |
| RGB | rgb(102, 204, 112) | color: rgb(102, 204, 112) | |
| CMYK | cmyk(50%, 0%, 45%, 20%) | — | |
| HSV | hsv(126, 50%, 80%) | — | |
| HWB | hwb(126 40% 20%) | color: hwb(126 40% 20%) | |
| OKLCH | oklch(0.7618 0.1603 145.78) | color: oklch(0.7618 0.1603 145.78) | |
| Lab | lab(74.3 -48.82 36.84) | color: lab(74.3 -48.82 36.84) | |
| LCH | lch(74.3 61.16 142.96) | color: lch(74.3 61.16 142.96) |
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)
#929386 — rgb(146, 147, 134)
Deuteranopia (Green-blind)
#8C858C — rgb(140, 133, 140)
Tritanopia (Blue-blind)
#6B989C — rgb(107, 152, 156)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 50%, 60%);
text
color: hsl(126, 50%, 60%);
border
border: 2px solid hsl(126, 50%, 60%);
gradient light
background: linear-gradient(to right, hsl(126, 50%, 80%), hsl(126, 50%, 60%));
gradient dark
background: linear-gradient(to right, hsl(126, 50%, 60%), hsl(126, 50%, 40%))
hex
background-color: #66CC70;
tailwind
bg-[hsl(126,50%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 50%, 60%, 0.4);
css variable
--color-primary: hsl(126, 50%, 60%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(126, 50%, 60%)?
HEX: #66CC70 | RGB: rgb(102, 204, 112) | CMYK: 50%, 0%, 45%, 20% | HSV: 126°, 50%, 80%. Copy any format from the conversion table above.
What colors go well with #66CC70?
The complementary color is HSL(306, 50%, 60%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(126, 50%, 60%) in CSS?
As HSL: color: hsl(126, 50%, 60%); — As HEX: color: #66CC70; — As RGB: color: rgb(102, 204, 112); — Tailwind CSS: bg-[hsl(126,50%,60%)] — CSS variable: --color-primary: hsl(126, 50%, 60%);