HSL(142, 96%, 35%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,96%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 96%, 35%) | color: hsl(142, 96%, 35%) | |
| HEX | #04AF42 | color: #04AF42 | |
| RGB | rgb(4, 175, 66) | color: rgb(4, 175, 66) | |
| CMYK | cmyk(98%, 0%, 62%, 31%) | — | |
| HSV | hsv(142, 98%, 69%) | — | |
| HWB | hwb(142 1% 31%) | color: hwb(142 1% 31%) | |
| OKLCH | oklch(0.6574 0.1929 147.31) | color: oklch(0.6574 0.1929 147.31) | |
| Lab | lab(62.57 -60.53 44.37) | color: lab(62.57 -60.53 44.37) | |
| LCH | lch(62.57 75.05 143.76) | color: lch(62.57 75.05 143.76) |
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)
#4E505C — rgb(78, 80, 92)
Deuteranopia (Green-blind)
#443763 — rgb(68, 55, 99)
Tritanopia (Blue-blind)
#0D7176 — rgb(13, 113, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 96%, 35%);
text
color: hsl(142, 96%, 35%);
border
border: 2px solid hsl(142, 96%, 35%);
gradient light
background: linear-gradient(to right, hsl(142, 96%, 55%), hsl(142, 96%, 35%));
gradient dark
background: linear-gradient(to right, hsl(142, 96%, 35%), hsl(142, 96%, 15%))
hex
background-color: #04AF42;
tailwind
bg-[hsl(142,96%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 96%, 35%, 0.4);
css variable
--color-primary: hsl(142, 96%, 35%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 96%, 35%)?
HEX: #04AF42 | RGB: rgb(4, 175, 66) | CMYK: 98%, 0%, 62%, 31% | HSV: 142°, 98%, 69%. Copy any format from the conversion table above.
What colors go well with #04AF42?
The complementary color is HSL(322, 96%, 35%). 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, 96%, 35%) in CSS?
As HSL: color: hsl(142, 96%, 35%); — As HEX: color: #04AF42; — As RGB: color: rgb(4, 175, 66); — Tailwind CSS: bg-[hsl(142,96%,35%)] — CSS variable: --color-primary: hsl(142, 96%, 35%);