HSL(117, 67%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(117,67%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(117, 67%, 18%) | color: hsl(117, 67%, 18%) | |
| HEX | #124D0F | color: #124D0F | |
| RGB | rgb(18, 77, 15) | color: rgb(18, 77, 15) | |
| CMYK | cmyk(77%, 0%, 81%, 70%) | — | |
| HSV | hsv(117, 81%, 30%) | — | |
| HWB | hwb(117 6% 70%) | color: hwb(117 6% 70%) | |
| OKLCH | oklch(0.3691 0.1099 142.36) | color: oklch(0.3691 0.1099 142.36) | |
| Lab | lab(28.04 -31.98 29.63) | color: lab(28.04 -31.98 29.63) | |
| LCH | lch(28.04 43.6 137.18) | color: lch(28.04 43.6 137.18) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#2C2C1E — rgb(44, 44, 30)
Deuteranopia (Green-blind)
#282422 — rgb(40, 36, 34)
Tritanopia (Blue-blind)
#152A2C — rgb(21, 42, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(117, 67%, 18%);
text
color: hsl(117, 67%, 18%);
border
border: 2px solid hsl(117, 67%, 18%);
gradient light
background: linear-gradient(to right, hsl(117, 67%, 38%), hsl(117, 67%, 18%));
gradient dark
background: linear-gradient(to right, hsl(117, 67%, 18%), hsl(117, 67%, 0%))
hex
background-color: #124D0F;
tailwind
bg-[hsl(117,67%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(117, 67%, 18%, 0.4);
css variable
--color-primary: hsl(117, 67%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(117, 67%, 18%)?
HEX: #124D0F | RGB: rgb(18, 77, 15) | CMYK: 77%, 0%, 81%, 70% | HSV: 117°, 81%, 30%. Copy any format from the conversion table above.
What colors go well with #124D0F?
The complementary color is HSL(297, 67%, 18%). For a triadic harmony, use hues 117°, 237°, and 357°. For analogous combinations, try hues 87° and 147°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(117, 67%, 18%) in CSS?
As HSL: color: hsl(117, 67%, 18%); — As HEX: color: #124D0F; — As RGB: color: rgb(18, 77, 15); — Tailwind CSS: bg-[hsl(117,67%,18%)] — CSS variable: --color-primary: hsl(117, 67%, 18%);