HSL(142, 52%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,52%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 52%, 30%) | color: hsl(142, 52%, 30%) | |
| HEX | #257442 | color: #257442 | |
| RGB | rgb(37, 116, 66) | color: rgb(37, 116, 66) | |
| CMYK | cmyk(68%, 0%, 43%, 55%) | — | |
| HSV | hsv(142, 68%, 45%) | — | |
| HWB | hwb(142 14% 55%) | color: hwb(142 14% 55%) | |
| OKLCH | oklch(0.4978 0.1101 152.07) | color: oklch(0.4978 0.1101 152.07) | |
| Lab | lab(43.18 -36.03 20.8) | color: lab(43.18 -36.03 20.8) | |
| LCH | lch(43.18 41.6 150) | color: lch(43.18 41.6 150) |
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)
#47484E — rgb(71, 72, 78)
Deuteranopia (Green-blind)
#433D51 — rgb(67, 61, 81)
Tritanopia (Blue-blind)
#29585A — rgb(41, 88, 90)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 52%, 30%);
text
color: hsl(142, 52%, 30%);
border
border: 2px solid hsl(142, 52%, 30%);
gradient light
background: linear-gradient(to right, hsl(142, 52%, 50%), hsl(142, 52%, 30%));
gradient dark
background: linear-gradient(to right, hsl(142, 52%, 30%), hsl(142, 52%, 10%))
hex
background-color: #257442;
tailwind
bg-[hsl(142,52%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 52%, 30%, 0.4);
css variable
--color-primary: hsl(142, 52%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 52%, 30%)?
HEX: #257442 | RGB: rgb(37, 116, 66) | CMYK: 68%, 0%, 43%, 55% | HSV: 142°, 68%, 45%. Copy any format from the conversion table above.
What colors go well with #257442?
The complementary color is HSL(322, 52%, 30%). 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, 52%, 30%) in CSS?
As HSL: color: hsl(142, 52%, 30%); — As HEX: color: #257442; — As RGB: color: rgb(37, 116, 66); — Tailwind CSS: bg-[hsl(142,52%,30%)] — CSS variable: --color-primary: hsl(142, 52%, 30%);