HSL(89, 40%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(89,40%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(89, 40%, 15%) | color: hsl(89, 40%, 15%) | |
| HEX | #273617 | color: #273617 | |
| RGB | rgb(39, 54, 23) | color: rgb(39, 54, 23) | |
| CMYK | cmyk(28%, 0%, 57%, 79%) | — | |
| HSV | hsv(89, 57%, 21%) | — | |
| HWB | hwb(89 9% 79%) | color: hwb(89 9% 79%) | |
| OKLCH | oklch(0.3108 0.0547 130.28) | color: oklch(0.3108 0.0547 130.28) | |
| Lab | lab(20.56 -12.76 17.41) | color: lab(20.56 -12.76 17.41) | |
| LCH | lch(20.56 21.59 126.24) | color: lch(20.56 21.59 126.24) |
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)
#2D2E1F — rgb(45, 46, 31)
Deuteranopia (Green-blind)
#2D2C20 — rgb(45, 44, 32)
Tritanopia (Blue-blind)
#282426 — rgb(40, 36, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(89, 40%, 15%);
text
color: hsl(89, 40%, 15%);
border
border: 2px solid hsl(89, 40%, 15%);
gradient light
background: linear-gradient(to right, hsl(89, 40%, 35%), hsl(89, 40%, 15%));
gradient dark
background: linear-gradient(to right, hsl(89, 40%, 15%), hsl(89, 40%, 0%))
hex
background-color: #273617;
tailwind
bg-[hsl(89,40%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(89, 40%, 15%, 0.4);
css variable
--color-primary: hsl(89, 40%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(89, 40%, 15%)?
HEX: #273617 | RGB: rgb(39, 54, 23) | CMYK: 28%, 0%, 57%, 79% | HSV: 89°, 57%, 21%. Copy any format from the conversion table above.
What colors go well with #273617?
The complementary color is HSL(269, 40%, 15%). For a triadic harmony, use hues 89°, 209°, and 329°. For analogous combinations, try hues 59° and 119°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(89, 40%, 15%) in CSS?
As HSL: color: hsl(89, 40%, 15%); — As HEX: color: #273617; — As RGB: color: rgb(39, 54, 23); — Tailwind CSS: bg-[hsl(89,40%,15%)] — CSS variable: --color-primary: hsl(89, 40%, 15%);