HSL(87, 80%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,80%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 80%, 26%) | color: hsl(87, 80%, 26%) | |
| HEX | #48770D | color: #48770D | |
| RGB | rgb(72, 119, 13) | color: rgb(72, 119, 13) | |
| CMYK | cmyk(39%, 0%, 89%, 53%) | — | |
| HSV | hsv(87, 89%, 47%) | — | |
| HWB | hwb(87 5% 53%) | color: hwb(87 5% 53%) | |
| OKLCH | oklch(0.5157 0.1377 132.11) | color: oklch(0.5157 0.1377 132.11) | |
| Lab | lab(45.08 -32.54 46.94) | color: lab(45.08 -32.54 46.94) | |
| LCH | lch(45.08 57.12 124.73) | color: lch(45.08 57.12 124.73) |
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)
#5C5D27 — rgb(92, 93, 39)
Deuteranopia (Green-blind)
#5A562D — rgb(90, 86, 45)
Tritanopia (Blue-blind)
#4A3B3F — rgb(74, 59, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 80%, 26%);
text
color: hsl(87, 80%, 26%);
border
border: 2px solid hsl(87, 80%, 26%);
gradient light
background: linear-gradient(to right, hsl(87, 80%, 46%), hsl(87, 80%, 26%));
gradient dark
background: linear-gradient(to right, hsl(87, 80%, 26%), hsl(87, 80%, 6%))
hex
background-color: #48770D;
tailwind
bg-[hsl(87,80%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 80%, 26%, 0.4);
css variable
--color-primary: hsl(87, 80%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 80%, 26%)?
HEX: #48770D | RGB: rgb(72, 119, 13) | CMYK: 39%, 0%, 89%, 53% | HSV: 87°, 89%, 47%. Copy any format from the conversion table above.
What colors go well with #48770D?
The complementary color is HSL(267, 80%, 26%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 80%, 26%) in CSS?
As HSL: color: hsl(87, 80%, 26%); — As HEX: color: #48770D; — As RGB: color: rgb(72, 119, 13); — Tailwind CSS: bg-[hsl(87,80%,26%)] — CSS variable: --color-primary: hsl(87, 80%, 26%);