HSL(86, 70%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(86,70%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(86, 70%, 27%) | color: hsl(86, 70%, 27%) | |
| HEX | #4B7515 | color: #4B7515 | |
| RGB | rgb(75, 117, 21) | color: rgb(75, 117, 21) | |
| CMYK | cmyk(36%, 0%, 82%, 54%) | — | |
| HSV | hsv(86, 82%, 46%) | — | |
| HWB | hwb(86 8% 54%) | color: hwb(86 8% 54%) | |
| OKLCH | oklch(0.5125 0.1299 131.14) | color: oklch(0.5125 0.1299 131.14) | |
| Lab | lab(44.62 -30.09 44.32) | color: lab(44.62 -30.09 44.32) | |
| LCH | lch(44.62 53.57 124.17) | color: lch(44.62 53.57 124.17) |
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)
#5D5E2C — rgb(93, 94, 44)
Deuteranopia (Green-blind)
#5B5832 — rgb(91, 88, 50)
Tritanopia (Blue-blind)
#4D3F43 — rgb(77, 63, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(86, 70%, 27%);
text
color: hsl(86, 70%, 27%);
border
border: 2px solid hsl(86, 70%, 27%);
gradient light
background: linear-gradient(to right, hsl(86, 70%, 47%), hsl(86, 70%, 27%));
gradient dark
background: linear-gradient(to right, hsl(86, 70%, 27%), hsl(86, 70%, 7%))
hex
background-color: #4B7515;
tailwind
bg-[hsl(86,70%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(86, 70%, 27%, 0.4);
css variable
--color-primary: hsl(86, 70%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(86, 70%, 27%)?
HEX: #4B7515 | RGB: rgb(75, 117, 21) | CMYK: 36%, 0%, 82%, 54% | HSV: 86°, 82%, 46%. Copy any format from the conversion table above.
What colors go well with #4B7515?
The complementary color is HSL(266, 70%, 27%). 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, 70%, 27%) in CSS?
As HSL: color: hsl(86, 70%, 27%); — As HEX: color: #4B7515; — As RGB: color: rgb(75, 117, 21); — Tailwind CSS: bg-[hsl(86,70%,27%)] — CSS variable: --color-primary: hsl(86, 70%, 27%);