HSL(118, 83%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(118,83%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(118, 83%, 30%) | color: hsl(118, 83%, 30%) | |
| HEX | #118C0D | color: #118C0D | |
| RGB | rgb(17, 140, 13) | color: rgb(17, 140, 13) | |
| CMYK | cmyk(88%, 0%, 91%, 45%) | — | |
| HSV | hsv(118, 91%, 55%) | — | |
| HWB | hwb(118 5% 45%) | color: hwb(118 5% 45%) | |
| OKLCH | oklch(0.5566 0.1832 142.42) | color: oklch(0.5566 0.1832 142.42) | |
| Lab | lab(50.57 -53.45 51.08) | color: lab(50.57 -53.45 51.08) | |
| LCH | lch(50.57 73.93 136.3) | color: lch(50.57 73.93 136.3) |
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)
#46472C — rgb(70, 71, 44)
Deuteranopia (Green-blind)
#3F3633 — rgb(63, 54, 51)
Tritanopia (Blue-blind)
#174449 — rgb(23, 68, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(118, 83%, 30%);
text
color: hsl(118, 83%, 30%);
border
border: 2px solid hsl(118, 83%, 30%);
gradient light
background: linear-gradient(to right, hsl(118, 83%, 50%), hsl(118, 83%, 30%));
gradient dark
background: linear-gradient(to right, hsl(118, 83%, 30%), hsl(118, 83%, 10%))
hex
background-color: #118C0D;
tailwind
bg-[hsl(118,83%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(118, 83%, 30%, 0.4);
css variable
--color-primary: hsl(118, 83%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(118, 83%, 30%)?
HEX: #118C0D | RGB: rgb(17, 140, 13) | CMYK: 88%, 0%, 91%, 45% | HSV: 118°, 91%, 55%. Copy any format from the conversion table above.
What colors go well with #118C0D?
The complementary color is HSL(298, 83%, 30%). For a triadic harmony, use hues 118°, 238°, and 358°. For analogous combinations, try hues 88° and 148°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(118, 83%, 30%) in CSS?
As HSL: color: hsl(118, 83%, 30%); — As HEX: color: #118C0D; — As RGB: color: rgb(17, 140, 13); — Tailwind CSS: bg-[hsl(118,83%,30%)] — CSS variable: --color-primary: hsl(118, 83%, 30%);