HSL(112, 50%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,50%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 50%, 26%) | color: hsl(112, 50%, 26%) | |
| HEX | #2A6321 | color: #2A6321 | |
| RGB | rgb(42, 99, 33) | color: rgb(42, 99, 33) | |
| CMYK | cmyk(58%, 0%, 67%, 61%) | — | |
| HSV | hsv(112, 67%, 39%) | — | |
| HWB | hwb(112 13% 61%) | color: hwb(112 13% 61%) | |
| OKLCH | oklch(0.4457 0.1151 141.05) | color: oklch(0.4457 0.1151 141.05) | |
| Lab | lab(36.98 -32.74 31.09) | color: lab(36.98 -32.74 31.09) | |
| LCH | lch(36.98 45.15 136.48) | color: lch(36.98 45.15 136.48) |
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)
#434331 — rgb(67, 67, 49)
Deuteranopia (Green-blind)
#3F3B35 — rgb(63, 59, 53)
Tritanopia (Blue-blind)
#2D3E40 — rgb(45, 62, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 50%, 26%);
text
color: hsl(112, 50%, 26%);
border
border: 2px solid hsl(112, 50%, 26%);
gradient light
background: linear-gradient(to right, hsl(112, 50%, 46%), hsl(112, 50%, 26%));
gradient dark
background: linear-gradient(to right, hsl(112, 50%, 26%), hsl(112, 50%, 6%))
hex
background-color: #2A6321;
tailwind
bg-[hsl(112,50%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 50%, 26%, 0.4);
css variable
--color-primary: hsl(112, 50%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 50%, 26%)?
HEX: #2A6321 | RGB: rgb(42, 99, 33) | CMYK: 58%, 0%, 67%, 61% | HSV: 112°, 67%, 39%. Copy any format from the conversion table above.
What colors go well with #2A6321?
The complementary color is HSL(292, 50%, 26%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(112, 50%, 26%) in CSS?
As HSL: color: hsl(112, 50%, 26%); — As HEX: color: #2A6321; — As RGB: color: rgb(42, 99, 33); — Tailwind CSS: bg-[hsl(112,50%,26%)] — CSS variable: --color-primary: hsl(112, 50%, 26%);