HSL(122, 74%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,74%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 74%, 26%) | color: hsl(122, 74%, 26%) | |
| HEX | #117315 | color: #117315 | |
| RGB | rgb(17, 115, 21) | color: rgb(17, 115, 21) | |
| CMYK | cmyk(85%, 0%, 82%, 55%) | — | |
| HSV | hsv(122, 85%, 45%) | — | |
| HWB | hwb(122 7% 55%) | color: hwb(122 7% 55%) | |
| OKLCH | oklch(0.4844 0.1529 143.12) | color: oklch(0.4844 0.1529 143.12) | |
| Lab | lab(41.9 -45.12 41.02) | color: lab(41.9 -45.12 41.02) | |
| LCH | lch(41.9 60.98 137.73) | color: lch(41.9 60.98 137.73) |
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)
#3B3C2C — rgb(59, 60, 44)
Deuteranopia (Green-blind)
#362E31 — rgb(54, 46, 49)
Tritanopia (Blue-blind)
#163E42 — rgb(22, 62, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 74%, 26%);
text
color: hsl(122, 74%, 26%);
border
border: 2px solid hsl(122, 74%, 26%);
gradient light
background: linear-gradient(to right, hsl(122, 74%, 46%), hsl(122, 74%, 26%));
gradient dark
background: linear-gradient(to right, hsl(122, 74%, 26%), hsl(122, 74%, 6%))
hex
background-color: #117315;
tailwind
bg-[hsl(122,74%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 74%, 26%, 0.4);
css variable
--color-primary: hsl(122, 74%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 74%, 26%)?
HEX: #117315 | RGB: rgb(17, 115, 21) | CMYK: 85%, 0%, 82%, 55% | HSV: 122°, 85%, 45%. Copy any format from the conversion table above.
What colors go well with #117315?
The complementary color is HSL(302, 74%, 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, 74%, 26%) in CSS?
As HSL: color: hsl(122, 74%, 26%); — As HEX: color: #117315; — As RGB: color: rgb(17, 115, 21); — Tailwind CSS: bg-[hsl(122,74%,26%)] — CSS variable: --color-primary: hsl(122, 74%, 26%);