HSL(102, 50%, 50%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,50%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 50%, 50%) | color: hsl(102, 50%, 50%) | |
| HEX | #66BF40 | color: #66BF40 | |
| RGB | rgb(102, 191, 64) | color: rgb(102, 191, 64) | |
| CMYK | cmyk(47%, 0%, 66%, 25%) | — | |
| HSV | hsv(102, 66%, 75%) | — | |
| HWB | hwb(102 26% 25%) | color: hwb(102 26% 25%) | |
| OKLCH | oklch(0.7231 0.1838 137.77) | color: oklch(0.7231 0.1838 137.77) | |
| Lab | lab(69.79 -49.29 53.82) | color: lab(69.79 -49.29 53.82) | |
| LCH | lch(69.79 72.98 132.48) | color: lch(69.79 72.98 132.48) |
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)
#8D8D5F — rgb(141, 141, 95)
Deuteranopia (Green-blind)
#878166 — rgb(135, 129, 102)
Tritanopia (Blue-blind)
#6A777C — rgb(106, 119, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 50%, 50%);
text
color: hsl(102, 50%, 50%);
border
border: 2px solid hsl(102, 50%, 50%);
gradient light
background: linear-gradient(to right, hsl(102, 50%, 70%), hsl(102, 50%, 50%));
gradient dark
background: linear-gradient(to right, hsl(102, 50%, 50%), hsl(102, 50%, 30%))
hex
background-color: #66BF40;
tailwind
bg-[hsl(102,50%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 50%, 50%, 0.4);
css variable
--color-primary: hsl(102, 50%, 50%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 50%, 50%)?
HEX: #66BF40 | RGB: rgb(102, 191, 64) | CMYK: 47%, 0%, 66%, 25% | HSV: 102°, 66%, 75%. Copy any format from the conversion table above.
What colors go well with #66BF40?
The complementary color is HSL(282, 50%, 50%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 50%, 50%) in CSS?
As HSL: color: hsl(102, 50%, 50%); — As HEX: color: #66BF40; — As RGB: color: rgb(102, 191, 64); — Tailwind CSS: bg-[hsl(102,50%,50%)] — CSS variable: --color-primary: hsl(102, 50%, 50%);