HSL(86, 97%, 22%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(86,97%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(86, 97%, 22%) | color: hsl(86, 97%, 22%) | |
| HEX | #3F6F02 | color: #3F6F02 | |
| RGB | rgb(63, 111, 2) | color: rgb(63, 111, 2) | |
| CMYK | cmyk(43%, 0%, 98%, 56%) | — | |
| HSV | hsv(86, 98%, 44%) | — | |
| HWB | hwb(86 1% 56%) | color: hwb(86 1% 56%) | |
| OKLCH | oklch(0.4882 0.1365 132.89) | color: oklch(0.4882 0.1365 132.89) | |
| Lab | lab(41.89 -32.76 46.62) | color: lab(41.89 -32.76 46.62) | |
| LCH | lch(41.89 56.98 125.1) | color: lch(41.89 56.98 125.1) |
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)
#54541C — rgb(84, 84, 28)
Deuteranopia (Green-blind)
#514D23 — rgb(81, 77, 35)
Tritanopia (Blue-blind)
#413136 — rgb(65, 49, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(86, 97%, 22%);
text
color: hsl(86, 97%, 22%);
border
border: 2px solid hsl(86, 97%, 22%);
gradient light
background: linear-gradient(to right, hsl(86, 97%, 42%), hsl(86, 97%, 22%));
gradient dark
background: linear-gradient(to right, hsl(86, 97%, 22%), hsl(86, 97%, 2%))
hex
background-color: #3F6F02;
tailwind
bg-[hsl(86,97%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(86, 97%, 22%, 0.4);
css variable
--color-primary: hsl(86, 97%, 22%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(86, 97%, 22%)?
HEX: #3F6F02 | RGB: rgb(63, 111, 2) | CMYK: 43%, 0%, 98%, 56% | HSV: 86°, 98%, 44%. Copy any format from the conversion table above.
What colors go well with #3F6F02?
The complementary color is HSL(266, 97%, 22%). For a triadic harmony, use hues 86°, 206°, and 326°. For analogous combinations, try hues 56° and 116°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(86, 97%, 22%) in CSS?
As HSL: color: hsl(86, 97%, 22%); — As HEX: color: #3F6F02; — As RGB: color: rgb(63, 111, 2); — Tailwind CSS: bg-[hsl(86,97%,22%)] — CSS variable: --color-primary: hsl(86, 97%, 22%);