HSL(115, 85%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(115,85%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(115, 85%, 30%) | color: hsl(115, 85%, 30%) | |
| HEX | #168E0B | color: #168E0B | |
| RGB | rgb(22, 142, 11) | color: rgb(22, 142, 11) | |
| CMYK | cmyk(85%, 0%, 92%, 44%) | — | |
| HSV | hsv(115, 92%, 56%) | — | |
| HWB | hwb(115 4% 44%) | color: hwb(115 4% 44%) | |
| OKLCH | oklch(0.5629 0.1849 142.06) | color: oklch(0.5629 0.1849 142.06) | |
| Lab | lab(51.31 -53.6 52.12) | color: lab(51.31 -53.6 52.12) | |
| LCH | lch(51.31 74.76 135.8) | color: lch(51.31 74.76 135.8) |
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)
#4A4B2B — rgb(74, 75, 43)
Deuteranopia (Green-blind)
#433A32 — rgb(67, 58, 50)
Tritanopia (Blue-blind)
#1C4449 — rgb(28, 68, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(115, 85%, 30%);
text
color: hsl(115, 85%, 30%);
border
border: 2px solid hsl(115, 85%, 30%);
gradient light
background: linear-gradient(to right, hsl(115, 85%, 50%), hsl(115, 85%, 30%));
gradient dark
background: linear-gradient(to right, hsl(115, 85%, 30%), hsl(115, 85%, 10%))
hex
background-color: #168E0B;
tailwind
bg-[hsl(115,85%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(115, 85%, 30%, 0.4);
css variable
--color-primary: hsl(115, 85%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(115, 85%, 30%)?
HEX: #168E0B | RGB: rgb(22, 142, 11) | CMYK: 85%, 0%, 92%, 44% | HSV: 115°, 92%, 56%. Copy any format from the conversion table above.
What colors go well with #168E0B?
The complementary color is HSL(295, 85%, 30%). For a triadic harmony, use hues 115°, 235°, and 355°. For analogous combinations, try hues 85° and 145°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(115, 85%, 30%) in CSS?
As HSL: color: hsl(115, 85%, 30%); — As HEX: color: #168E0B; — As RGB: color: rgb(22, 142, 11); — Tailwind CSS: bg-[hsl(115,85%,30%)] — CSS variable: --color-primary: hsl(115, 85%, 30%);