HSL(138, 80%, 34%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(138,80%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(138, 80%, 34%) | color: hsl(138, 80%, 34%) | |
| HEX | #119C3B | color: #119C3B | |
| RGB | rgb(17, 156, 59) | color: rgb(17, 156, 59) | |
| CMYK | cmyk(89%, 0%, 62%, 39%) | — | |
| HSV | hsv(138, 89%, 61%) | — | |
| HWB | hwb(138 7% 39%) | color: hwb(138 7% 39%) | |
| OKLCH | oklch(0.6052 0.1748 147.05) | color: oklch(0.6052 0.1748 147.05) | |
| Lab | lab(56.3 -54.62 40.43) | color: lab(56.3 -54.62 40.43) | |
| LCH | lch(56.3 67.96 143.49) | color: lch(56.3 67.96 143.49) |
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)
#4D4E52 — rgb(77, 78, 82)
Deuteranopia (Green-blind)
#453B58 — rgb(69, 59, 88)
Tritanopia (Blue-blind)
#186569 — rgb(24, 101, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(138, 80%, 34%);
text
color: hsl(138, 80%, 34%);
border
border: 2px solid hsl(138, 80%, 34%);
gradient light
background: linear-gradient(to right, hsl(138, 80%, 54%), hsl(138, 80%, 34%));
gradient dark
background: linear-gradient(to right, hsl(138, 80%, 34%), hsl(138, 80%, 14%))
hex
background-color: #119C3B;
tailwind
bg-[hsl(138,80%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(138, 80%, 34%, 0.4);
css variable
--color-primary: hsl(138, 80%, 34%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(138, 80%, 34%)?
HEX: #119C3B | RGB: rgb(17, 156, 59) | CMYK: 89%, 0%, 62%, 39% | HSV: 138°, 89%, 61%. Copy any format from the conversion table above.
What colors go well with #119C3B?
The complementary color is HSL(318, 80%, 34%). 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, 80%, 34%) in CSS?
As HSL: color: hsl(138, 80%, 34%); — As HEX: color: #119C3B; — As RGB: color: rgb(17, 156, 59); — Tailwind CSS: bg-[hsl(138,80%,34%)] — CSS variable: --color-primary: hsl(138, 80%, 34%);