HSL(117, 56%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(117,56%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(117, 56%, 26%) | color: hsl(117, 56%, 26%) | |
| HEX | #21671D | color: #21671D | |
| RGB | rgb(33, 103, 29) | color: rgb(33, 103, 29) | |
| CMYK | cmyk(68%, 0%, 72%, 60%) | — | |
| HSV | hsv(117, 72%, 40%) | — | |
| HWB | hwb(117 11% 60%) | color: hwb(117 11% 60%) | |
| OKLCH | oklch(0.4536 0.128 142.35) | color: oklch(0.4536 0.128 142.35) | |
| Lab | lab(38.04 -37.24 34.05) | color: lab(38.04 -37.24 34.05) | |
| LCH | lch(38.04 50.46 137.56) | color: lch(38.04 50.46 137.56) |
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)
#3F402F — rgb(63, 64, 47)
Deuteranopia (Green-blind)
#3B3633 — rgb(59, 54, 51)
Tritanopia (Blue-blind)
#253D40 — rgb(37, 61, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(117, 56%, 26%);
text
color: hsl(117, 56%, 26%);
border
border: 2px solid hsl(117, 56%, 26%);
gradient light
background: linear-gradient(to right, hsl(117, 56%, 46%), hsl(117, 56%, 26%));
gradient dark
background: linear-gradient(to right, hsl(117, 56%, 26%), hsl(117, 56%, 6%))
hex
background-color: #21671D;
tailwind
bg-[hsl(117,56%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(117, 56%, 26%, 0.4);
css variable
--color-primary: hsl(117, 56%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(117, 56%, 26%)?
HEX: #21671D | RGB: rgb(33, 103, 29) | CMYK: 68%, 0%, 72%, 60% | HSV: 117°, 72%, 40%. Copy any format from the conversion table above.
What colors go well with #21671D?
The complementary color is HSL(297, 56%, 26%). For a triadic harmony, use hues 117°, 237°, and 357°. For analogous combinations, try hues 87° and 147°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(117, 56%, 26%) in CSS?
As HSL: color: hsl(117, 56%, 26%); — As HEX: color: #21671D; — As RGB: color: rgb(33, 103, 29); — Tailwind CSS: bg-[hsl(117,56%,26%)] — CSS variable: --color-primary: hsl(117, 56%, 26%);