HSL(91, 74%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(91,74%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(91, 74%, 17%) | color: hsl(91, 74%, 17%) | |
| HEX | #2A4B0B | color: #2A4B0B | |
| RGB | rgb(42, 75, 11) | color: rgb(42, 75, 11) | |
| CMYK | cmyk(44%, 0%, 85%, 71%) | — | |
| HSV | hsv(91, 85%, 29%) | — | |
| HWB | hwb(91 4% 71%) | color: hwb(91 4% 71%) | |
| OKLCH | oklch(0.3734 0.0974 133.59) | color: oklch(0.3734 0.0974 133.59) | |
| Lab | lab(28.24 -23.86 31.76) | color: lab(28.24 -23.86 31.76) | |
| LCH | lch(28.24 39.72 126.92) | color: lch(28.24 39.72 126.92) |
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)
#38391A — rgb(56, 57, 26)
Deuteranopia (Green-blind)
#36341E — rgb(54, 52, 30)
Tritanopia (Blue-blind)
#2C2729 — rgb(44, 39, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(91, 74%, 17%);
text
color: hsl(91, 74%, 17%);
border
border: 2px solid hsl(91, 74%, 17%);
gradient light
background: linear-gradient(to right, hsl(91, 74%, 37%), hsl(91, 74%, 17%));
gradient dark
background: linear-gradient(to right, hsl(91, 74%, 17%), hsl(91, 74%, 0%))
hex
background-color: #2A4B0B;
tailwind
bg-[hsl(91,74%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(91, 74%, 17%, 0.4);
css variable
--color-primary: hsl(91, 74%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(91, 74%, 17%)?
HEX: #2A4B0B | RGB: rgb(42, 75, 11) | CMYK: 44%, 0%, 85%, 71% | HSV: 91°, 85%, 29%. Copy any format from the conversion table above.
What colors go well with #2A4B0B?
The complementary color is HSL(271, 74%, 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, 74%, 17%) in CSS?
As HSL: color: hsl(91, 74%, 17%); — As HEX: color: #2A4B0B; — As RGB: color: rgb(42, 75, 11); — Tailwind CSS: bg-[hsl(91,74%,17%)] — CSS variable: --color-primary: hsl(91, 74%, 17%);