HSL(138, 50%, 60%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(138,50%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(138, 50%, 60%) | color: hsl(138, 50%, 60%) | |
| HEX | #66CC85 | color: #66CC85 | |
| RGB | rgb(102, 204, 133) | color: rgb(102, 204, 133) | |
| CMYK | cmyk(50%, 0%, 35%, 20%) | — | |
| HSV | hsv(138, 50%, 80%) | — | |
| HWB | hwb(138 40% 20%) | color: hwb(138 40% 20%) | |
| OKLCH | oklch(0.7656 0.1402 151.68) | color: oklch(0.7656 0.1402 151.68) | |
| Lab | lab(74.64 -45.38 26.5) | color: lab(74.64 -45.38 26.5) | |
| LCH | lch(74.64 52.55 149.72) | color: lch(74.64 52.55 149.72) |
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)
#929396 — rgb(146, 147, 150)
Deuteranopia (Green-blind)
#8C859A — rgb(140, 133, 154)
Tritanopia (Blue-blind)
#6BA4A7 — rgb(107, 164, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(138, 50%, 60%);
text
color: hsl(138, 50%, 60%);
border
border: 2px solid hsl(138, 50%, 60%);
gradient light
background: linear-gradient(to right, hsl(138, 50%, 80%), hsl(138, 50%, 60%));
gradient dark
background: linear-gradient(to right, hsl(138, 50%, 60%), hsl(138, 50%, 40%))
hex
background-color: #66CC85;
tailwind
bg-[hsl(138,50%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(138, 50%, 60%, 0.4);
css variable
--color-primary: hsl(138, 50%, 60%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(138, 50%, 60%)?
HEX: #66CC85 | RGB: rgb(102, 204, 133) | CMYK: 50%, 0%, 35%, 20% | HSV: 138°, 50%, 80%. Copy any format from the conversion table above.
What colors go well with #66CC85?
The complementary color is HSL(318, 50%, 60%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(138, 50%, 60%) in CSS?
As HSL: color: hsl(138, 50%, 60%); — As HEX: color: #66CC85; — As RGB: color: rgb(102, 204, 133); — Tailwind CSS: bg-[hsl(138,50%,60%)] — CSS variable: --color-primary: hsl(138, 50%, 60%);