HSL(122, 50%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,50%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 50%, 26%) | color: hsl(122, 50%, 26%) | |
| HEX | #216323 | color: #216323 | |
| RGB | rgb(33, 99, 35) | color: rgb(33, 99, 35) | |
| CMYK | cmyk(67%, 0%, 65%, 61%) | — | |
| HSV | hsv(122, 67%, 39%) | — | |
| HWB | hwb(122 13% 61%) | color: hwb(122 13% 61%) | |
| OKLCH | oklch(0.4425 0.1177 143.73) | color: oklch(0.4425 0.1177 143.73) | |
| Lab | lab(36.68 -34.96 29.67) | color: lab(36.68 -34.96 29.67) | |
| LCH | lch(36.68 45.85 139.68) | color: lch(36.68 45.85 139.68) |
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)
#3E3E32 — rgb(62, 62, 50)
Deuteranopia (Green-blind)
#3A3536 — rgb(58, 53, 54)
Tritanopia (Blue-blind)
#243F41 — rgb(36, 63, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 50%, 26%);
text
color: hsl(122, 50%, 26%);
border
border: 2px solid hsl(122, 50%, 26%);
gradient light
background: linear-gradient(to right, hsl(122, 50%, 46%), hsl(122, 50%, 26%));
gradient dark
background: linear-gradient(to right, hsl(122, 50%, 26%), hsl(122, 50%, 6%))
hex
background-color: #216323;
tailwind
bg-[hsl(122,50%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 50%, 26%, 0.4);
css variable
--color-primary: hsl(122, 50%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 50%, 26%)?
HEX: #216323 | RGB: rgb(33, 99, 35) | CMYK: 67%, 0%, 65%, 61% | HSV: 122°, 67%, 39%. Copy any format from the conversion table above.
What colors go well with #216323?
The complementary color is HSL(302, 50%, 26%). For a triadic harmony, use hues 122°, 242°, and 2°. For analogous combinations, try hues 92° and 152°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(122, 50%, 26%) in CSS?
As HSL: color: hsl(122, 50%, 26%); — As HEX: color: #216323; — As RGB: color: rgb(33, 99, 35); — Tailwind CSS: bg-[hsl(122,50%,26%)] — CSS variable: --color-primary: hsl(122, 50%, 26%);