HSL(142, 17%, 25%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(142,17%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 17%, 25%) | color: hsl(142, 17%, 25%) | |
| HEX | #354B3D | color: #354B3D | |
| RGB | rgb(53, 75, 61) | color: rgb(53, 75, 61) | |
| CMYK | cmyk(29%, 0%, 19%, 71%) | — | |
| HSV | hsv(142, 29%, 29%) | — | |
| HWB | hwb(142 21% 71%) | color: hwb(142 21% 71%) | |
| OKLCH | oklch(0.3899 0.0362 156.39) | color: oklch(0.3899 0.0362 156.39) | |
| Lab | lab(29.73 -11.95 5.62) | color: lab(29.73 -11.95 5.62) | |
| LCH | lch(29.73 13.21 154.81) | color: lch(29.73 13.21 154.81) |
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)
#3F3F40 — rgb(63, 63, 64)
Deuteranopia (Green-blind)
#3D3C41 — rgb(61, 60, 65)
Tritanopia (Blue-blind)
#364344 — rgb(54, 67, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 17%, 25%);
text
color: hsl(142, 17%, 25%);
border
border: 2px solid hsl(142, 17%, 25%);
gradient light
background: linear-gradient(to right, hsl(142, 17%, 45%), hsl(142, 17%, 25%));
gradient dark
background: linear-gradient(to right, hsl(142, 17%, 25%), hsl(142, 17%, 5%))
hex
background-color: #354B3D;
tailwind
bg-[hsl(142,17%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 17%, 25%, 0.4);
css variable
--color-primary: hsl(142, 17%, 25%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 17%, 25%)?
HEX: #354B3D | RGB: rgb(53, 75, 61) | CMYK: 29%, 0%, 19%, 71% | HSV: 142°, 29%, 29%. Copy any format from the conversion table above.
What colors go well with #354B3D?
The complementary color is HSL(322, 17%, 25%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(142, 17%, 25%) in CSS?
As HSL: color: hsl(142, 17%, 25%); — As HEX: color: #354B3D; — As RGB: color: rgb(53, 75, 61); — Tailwind CSS: bg-[hsl(142,17%,25%)] — CSS variable: --color-primary: hsl(142, 17%, 25%);