HSL(91, 70%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(91,70%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(91, 70%, 17%) | color: hsl(91, 70%, 17%) | |
| HEX | #2A4A0D | color: #2A4A0D | |
| RGB | rgb(42, 74, 13) | color: rgb(42, 74, 13) | |
| CMYK | cmyk(43%, 0%, 82%, 71%) | — | |
| HSV | hsv(91, 82%, 29%) | — | |
| HWB | hwb(91 5% 71%) | color: hwb(91 5% 71%) | |
| OKLCH | oklch(0.3706 0.0947 133.6) | color: oklch(0.3706 0.0947 133.6) | |
| Lab | lab(27.9 -23.24 30.64) | color: lab(27.9 -23.24 30.64) | |
| LCH | lch(27.9 38.46 127.18) | color: lch(27.9 38.46 127.18) |
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)
#38381C — rgb(56, 56, 28)
Deuteranopia (Green-blind)
#36341F — rgb(54, 52, 31)
Tritanopia (Blue-blind)
#2C272A — rgb(44, 39, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(91, 70%, 17%);
text
color: hsl(91, 70%, 17%);
border
border: 2px solid hsl(91, 70%, 17%);
gradient light
background: linear-gradient(to right, hsl(91, 70%, 37%), hsl(91, 70%, 17%));
gradient dark
background: linear-gradient(to right, hsl(91, 70%, 17%), hsl(91, 70%, 0%))
hex
background-color: #2A4A0D;
tailwind
bg-[hsl(91,70%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(91, 70%, 17%, 0.4);
css variable
--color-primary: hsl(91, 70%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(91, 70%, 17%)?
HEX: #2A4A0D | RGB: rgb(42, 74, 13) | CMYK: 43%, 0%, 82%, 71% | HSV: 91°, 82%, 29%. Copy any format from the conversion table above.
What colors go well with #2A4A0D?
The complementary color is HSL(271, 70%, 17%). For a triadic harmony, use hues 91°, 211°, and 331°. For analogous combinations, try hues 61° and 121°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(91, 70%, 17%) in CSS?
As HSL: color: hsl(91, 70%, 17%); — As HEX: color: #2A4A0D; — As RGB: color: rgb(42, 74, 13); — Tailwind CSS: bg-[hsl(91,70%,17%)] — CSS variable: --color-primary: hsl(91, 70%, 17%);