HSL(87, 82%, 25%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,82%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 82%, 25%) | color: hsl(87, 82%, 25%) | |
| HEX | #45740B | color: #45740B | |
| RGB | rgb(69, 116, 11) | color: rgb(69, 116, 11) | |
| CMYK | cmyk(41%, 0%, 91%, 55%) | — | |
| HSV | hsv(87, 91%, 45%) | — | |
| HWB | hwb(87 4% 55%) | color: hwb(87 4% 55%) | |
| OKLCH | oklch(0.5057 0.1363 132.39) | color: oklch(0.5057 0.1363 132.39) | |
| Lab | lab(43.92 -32.4 46.35) | color: lab(43.92 -32.4 46.35) | |
| LCH | lch(43.92 56.55 124.95) | color: lch(43.92 56.55 124.95) |
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)
#595A24 — rgb(89, 90, 36)
Deuteranopia (Green-blind)
#57532B — rgb(87, 83, 43)
Tritanopia (Blue-blind)
#47383D — rgb(71, 56, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 82%, 25%);
text
color: hsl(87, 82%, 25%);
border
border: 2px solid hsl(87, 82%, 25%);
gradient light
background: linear-gradient(to right, hsl(87, 82%, 45%), hsl(87, 82%, 25%));
gradient dark
background: linear-gradient(to right, hsl(87, 82%, 25%), hsl(87, 82%, 5%))
hex
background-color: #45740B;
tailwind
bg-[hsl(87,82%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 82%, 25%, 0.4);
css variable
--color-primary: hsl(87, 82%, 25%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 82%, 25%)?
HEX: #45740B | RGB: rgb(69, 116, 11) | CMYK: 41%, 0%, 91%, 55% | HSV: 87°, 91%, 45%. Copy any format from the conversion table above.
What colors go well with #45740B?
The complementary color is HSL(267, 82%, 25%). 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, 82%, 25%) in CSS?
As HSL: color: hsl(87, 82%, 25%); — As HEX: color: #45740B; — As RGB: color: rgb(69, 116, 11); — Tailwind CSS: bg-[hsl(87,82%,25%)] — CSS variable: --color-primary: hsl(87, 82%, 25%);