HSL(145, 42%, 22%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(145,42%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(145, 42%, 22%) | color: hsl(145, 42%, 22%) | |
| HEX | #215034 | color: #215034 | |
| RGB | rgb(33, 80, 52) | color: rgb(33, 80, 52) | |
| CMYK | cmyk(59%, 0%, 35%, 69%) | — | |
| HSV | hsv(144, 59%, 31%) | — | |
| HWB | hwb(144 13% 69%) | color: hwb(144 13% 69%) | |
| OKLCH | oklch(0.3899 0.0705 155.04) | color: oklch(0.3899 0.0705 155.04) | |
| Lab | lab(30.18 -23.47 11.78) | color: lab(30.18 -23.47 11.78) | |
| LCH | lch(30.18 26.26 153.35) | color: lch(30.18 26.26 153.35) |
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)
#35363B — rgb(53, 54, 59)
Deuteranopia (Green-blind)
#332F3C — rgb(51, 47, 60)
Tritanopia (Blue-blind)
#234041 — rgb(35, 64, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(145, 42%, 22%);
text
color: hsl(145, 42%, 22%);
border
border: 2px solid hsl(145, 42%, 22%);
gradient light
background: linear-gradient(to right, hsl(145, 42%, 42%), hsl(145, 42%, 22%));
gradient dark
background: linear-gradient(to right, hsl(145, 42%, 22%), hsl(145, 42%, 2%))
hex
background-color: #215034;
tailwind
bg-[hsl(145,42%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(145, 42%, 22%, 0.4);
css variable
--color-primary: hsl(145, 42%, 22%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(145, 42%, 22%)?
HEX: #215034 | RGB: rgb(33, 80, 52) | CMYK: 59%, 0%, 35%, 69% | HSV: 144°, 59%, 31%. Copy any format from the conversion table above.
What colors go well with #215034?
The complementary color is HSL(325, 42%, 22%). For a triadic harmony, use hues 145°, 265°, and 25°. For analogous combinations, try hues 115° and 175°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(145, 42%, 22%) in CSS?
As HSL: color: hsl(145, 42%, 22%); — As HEX: color: #215034; — As RGB: color: rgb(33, 80, 52); — Tailwind CSS: bg-[hsl(145,42%,22%)] — CSS variable: --color-primary: hsl(145, 42%, 22%);