HSL(117, 82%, 22%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(117,82%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(117, 82%, 22%) | color: hsl(117, 82%, 22%) | |
| HEX | #0F660A | color: #0F660A | |
| RGB | rgb(15, 102, 10) | color: rgb(15, 102, 10) | |
| CMYK | cmyk(85%, 0%, 90%, 60%) | — | |
| HSV | hsv(117, 90%, 40%) | — | |
| HWB | hwb(117 4% 60%) | color: hwb(117 4% 60%) | |
| OKLCH | oklch(0.4447 0.1436 142.25) | color: oklch(0.4447 0.1436 142.25) | |
| Lab | lab(37.16 -41.76 39.95) | color: lab(37.16 -41.76 39.95) | |
| LCH | lch(37.16 57.79 136.27) | color: lch(37.16 57.79 136.27) |
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)
#353520 — rgb(53, 53, 32)
Deuteranopia (Green-blind)
#302926 — rgb(48, 41, 38)
Tritanopia (Blue-blind)
#133236 — rgb(19, 50, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(117, 82%, 22%);
text
color: hsl(117, 82%, 22%);
border
border: 2px solid hsl(117, 82%, 22%);
gradient light
background: linear-gradient(to right, hsl(117, 82%, 42%), hsl(117, 82%, 22%));
gradient dark
background: linear-gradient(to right, hsl(117, 82%, 22%), hsl(117, 82%, 2%))
hex
background-color: #0F660A;
tailwind
bg-[hsl(117,82%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(117, 82%, 22%, 0.4);
css variable
--color-primary: hsl(117, 82%, 22%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(117, 82%, 22%)?
HEX: #0F660A | RGB: rgb(15, 102, 10) | CMYK: 85%, 0%, 90%, 60% | HSV: 117°, 90%, 40%. Copy any format from the conversion table above.
What colors go well with #0F660A?
The complementary color is HSL(297, 82%, 22%). 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, 82%, 22%) in CSS?
As HSL: color: hsl(117, 82%, 22%); — As HEX: color: #0F660A; — As RGB: color: rgb(15, 102, 10); — Tailwind CSS: bg-[hsl(117,82%,22%)] — CSS variable: --color-primary: hsl(117, 82%, 22%);