HSL(143, 51%, 42%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(143,51%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(143, 51%, 42%) | color: hsl(143, 51%, 42%) | |
| HEX | #34A25E | color: #34A25E | |
| RGB | rgb(52, 162, 94) | color: rgb(52, 162, 94) | |
| CMYK | cmyk(68%, 0%, 42%, 36%) | — | |
| HSV | hsv(143, 68%, 64%) | — | |
| HWB | hwb(143 20% 36%) | color: hwb(143 20% 36%) | |
| OKLCH | oklch(0.6334 0.1418 152.35) | color: oklch(0.6334 0.1418 152.35) | |
| Lab | lab(59.32 -46.56 26.55) | color: lab(59.32 -46.56 26.55) | |
| LCH | lch(59.32 53.6 150.31) | color: lch(59.32 53.6 150.31) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#64656E — rgb(100, 101, 110)
Deuteranopia (Green-blind)
#5D5572 — rgb(93, 85, 114)
Tritanopia (Blue-blind)
#3A7B7E — rgb(58, 123, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(143, 51%, 42%);
text
color: hsl(143, 51%, 42%);
border
border: 2px solid hsl(143, 51%, 42%);
gradient light
background: linear-gradient(to right, hsl(143, 51%, 62%), hsl(143, 51%, 42%));
gradient dark
background: linear-gradient(to right, hsl(143, 51%, 42%), hsl(143, 51%, 22%))
hex
background-color: #34A25E;
tailwind
bg-[hsl(143,51%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(143, 51%, 42%, 0.4);
css variable
--color-primary: hsl(143, 51%, 42%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(143, 51%, 42%)?
HEX: #34A25E | RGB: rgb(52, 162, 94) | CMYK: 68%, 0%, 42%, 36% | HSV: 143°, 68%, 64%. Copy any format from the conversion table above.
What colors go well with #34A25E?
The complementary color is HSL(323, 51%, 42%). For a triadic harmony, use hues 143°, 263°, and 23°. For analogous combinations, try hues 113° and 173°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(143, 51%, 42%) in CSS?
As HSL: color: hsl(143, 51%, 42%); — As HEX: color: #34A25E; — As RGB: color: rgb(52, 162, 94); — Tailwind CSS: bg-[hsl(143,51%,42%)] — CSS variable: --color-primary: hsl(143, 51%, 42%);