HSL(122, 15%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(122,15%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 15%, 30%) | color: hsl(122, 15%, 30%) | |
| HEX | #415842 | color: #415842 | |
| RGB | rgb(65, 88, 66) | color: rgb(65, 88, 66) | |
| CMYK | cmyk(26%, 0%, 25%, 65%) | — | |
| HSV | hsv(123, 26%, 35%) | — | |
| HWB | hwb(123 26% 65%) | color: hwb(123 26% 65%) | |
| OKLCH | oklch(0.4347 0.0455 145.84) | color: oklch(0.4347 0.0455 145.84) | |
| Lab | lab(35 -13.75 9.99) | color: lab(35 -13.75 9.99) | |
| LCH | lch(35 17 144) | color: lch(35 17 144) |
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)
#4B4B47 — rgb(75, 75, 71)
Deuteranopia (Green-blind)
#4A4849 — rgb(74, 72, 73)
Tritanopia (Blue-blind)
#424C4C — rgb(66, 76, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 15%, 30%);
text
color: hsl(122, 15%, 30%);
border
border: 2px solid hsl(122, 15%, 30%);
gradient light
background: linear-gradient(to right, hsl(122, 15%, 50%), hsl(122, 15%, 30%));
gradient dark
background: linear-gradient(to right, hsl(122, 15%, 30%), hsl(122, 15%, 10%))
hex
background-color: #415842;
tailwind
bg-[hsl(122,15%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 15%, 30%, 0.4);
css variable
--color-primary: hsl(122, 15%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 15%, 30%)?
HEX: #415842 | RGB: rgb(65, 88, 66) | CMYK: 26%, 0%, 25%, 65% | HSV: 123°, 26%, 35%. Copy any format from the conversion table above.
What colors go well with #415842?
The complementary color is HSL(302, 15%, 30%). 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, 15%, 30%) in CSS?
As HSL: color: hsl(122, 15%, 30%); — As HEX: color: #415842; — As RGB: color: rgb(65, 88, 66); — Tailwind CSS: bg-[hsl(122,15%,30%)] — CSS variable: --color-primary: hsl(122, 15%, 30%);