HSL(143, 16%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(143,16%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(143, 16%, 30%) | color: hsl(143, 16%, 30%) | |
| HEX | #40594A | color: #40594A | |
| RGB | rgb(64, 89, 74) | color: rgb(64, 89, 74) | |
| CMYK | cmyk(28%, 0%, 17%, 65%) | — | |
| HSV | hsv(144, 28%, 35%) | — | |
| HWB | hwb(144 25% 65%) | color: hwb(144 25% 65%) | |
| OKLCH | oklch(0.4389 0.0391 157.99) | color: oklch(0.4389 0.0391 157.99) | |
| Lab | lab(35.46 -12.99 5.67) | color: lab(35.46 -12.99 5.67) | |
| LCH | lch(35.46 14.17 156.42) | color: lch(35.46 14.17 156.42) |
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)
#4B4B4E — rgb(75, 75, 78)
Deuteranopia (Green-blind)
#49484F — rgb(73, 72, 79)
Tritanopia (Blue-blind)
#415051 — rgb(65, 80, 81)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(143, 16%, 30%);
text
color: hsl(143, 16%, 30%);
border
border: 2px solid hsl(143, 16%, 30%);
gradient light
background: linear-gradient(to right, hsl(143, 16%, 50%), hsl(143, 16%, 30%));
gradient dark
background: linear-gradient(to right, hsl(143, 16%, 30%), hsl(143, 16%, 10%))
hex
background-color: #40594A;
tailwind
bg-[hsl(143,16%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(143, 16%, 30%, 0.4);
css variable
--color-primary: hsl(143, 16%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(143, 16%, 30%)?
HEX: #40594A | RGB: rgb(64, 89, 74) | CMYK: 28%, 0%, 17%, 65% | HSV: 144°, 28%, 35%. Copy any format from the conversion table above.
What colors go well with #40594A?
The complementary color is HSL(323, 16%, 30%). 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, 16%, 30%) in CSS?
As HSL: color: hsl(143, 16%, 30%); — As HEX: color: #40594A; — As RGB: color: rgb(64, 89, 74); — Tailwind CSS: bg-[hsl(143,16%,30%)] — CSS variable: --color-primary: hsl(143, 16%, 30%);