HSL(102, 70%, 50%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,70%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 70%, 50%) | color: hsl(102, 70%, 50%) | |
| HEX | #5CD926 | color: #5CD926 | |
| RGB | rgb(92, 217, 38) | color: rgb(92, 217, 38) | |
| CMYK | cmyk(58%, 0%, 82%, 15%) | — | |
| HSV | hsv(102, 82%, 85%) | — | |
| HWB | hwb(102 15% 15%) | color: hwb(102 15% 15%) | |
| OKLCH | oklch(0.7835 0.2326 138.75) | color: oklch(0.7835 0.2326 138.75) | |
| Lab | lab(77.3 -63.35 69.68) | color: lab(77.3 -63.35 69.68) | |
| LCH | lch(77.3 94.17 132.28) | color: lch(77.3 94.17 132.28) |
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)
#929351 — rgb(146, 147, 81)
Deuteranopia (Green-blind)
#8B825C — rgb(139, 130, 92)
Tritanopia (Blue-blind)
#62747B — rgb(98, 116, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 70%, 50%);
text
color: hsl(102, 70%, 50%);
border
border: 2px solid hsl(102, 70%, 50%);
gradient light
background: linear-gradient(to right, hsl(102, 70%, 70%), hsl(102, 70%, 50%));
gradient dark
background: linear-gradient(to right, hsl(102, 70%, 50%), hsl(102, 70%, 30%))
hex
background-color: #5CD926;
tailwind
bg-[hsl(102,70%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 70%, 50%, 0.4);
css variable
--color-primary: hsl(102, 70%, 50%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 70%, 50%)?
HEX: #5CD926 | RGB: rgb(92, 217, 38) | CMYK: 58%, 0%, 82%, 15% | HSV: 102°, 82%, 85%. Copy any format from the conversion table above.
What colors go well with #5CD926?
The complementary color is HSL(282, 70%, 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, 70%, 50%) in CSS?
As HSL: color: hsl(102, 70%, 50%); — As HEX: color: #5CD926; — As RGB: color: rgb(92, 217, 38); — Tailwind CSS: bg-[hsl(102,70%,50%)] — CSS variable: --color-primary: hsl(102, 70%, 50%);