HSL(86, 78%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(86,78%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(86, 78%, 17%) | color: hsl(86, 78%, 17%) | |
| HEX | #304D0A | color: #304D0A | |
| RGB | rgb(48, 77, 10) | color: rgb(48, 77, 10) | |
| CMYK | cmyk(38%, 0%, 87%, 70%) | — | |
| HSV | hsv(86, 87%, 30%) | — | |
| HWB | hwb(86 4% 70%) | color: hwb(86 4% 70%) | |
| OKLCH | oklch(0.383 0.0972 131.01) | color: oklch(0.383 0.0972 131.01) | |
| Lab | lab(29.31 -22.42 33.24) | color: lab(29.31 -22.42 33.24) | |
| LCH | lch(29.31 40.09 124) | color: lch(29.31 40.09 124) |
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)
#3D3D1A — rgb(61, 61, 26)
Deuteranopia (Green-blind)
#3B391E — rgb(59, 57, 30)
Tritanopia (Blue-blind)
#31272A — rgb(49, 39, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(86, 78%, 17%);
text
color: hsl(86, 78%, 17%);
border
border: 2px solid hsl(86, 78%, 17%);
gradient light
background: linear-gradient(to right, hsl(86, 78%, 37%), hsl(86, 78%, 17%));
gradient dark
background: linear-gradient(to right, hsl(86, 78%, 17%), hsl(86, 78%, 0%))
hex
background-color: #304D0A;
tailwind
bg-[hsl(86,78%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(86, 78%, 17%, 0.4);
css variable
--color-primary: hsl(86, 78%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(86, 78%, 17%)?
HEX: #304D0A | RGB: rgb(48, 77, 10) | CMYK: 38%, 0%, 87%, 70% | HSV: 86°, 87%, 30%. Copy any format from the conversion table above.
What colors go well with #304D0A?
The complementary color is HSL(266, 78%, 17%). 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, 78%, 17%) in CSS?
As HSL: color: hsl(86, 78%, 17%); — As HEX: color: #304D0A; — As RGB: color: rgb(48, 77, 10); — Tailwind CSS: bg-[hsl(86,78%,17%)] — CSS variable: --color-primary: hsl(86, 78%, 17%);