HSL(140, 40%, 35%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(140,40%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 40%, 35%) | color: hsl(140, 40%, 35%) | |
| HEX | #367D4D | color: #367D4D | |
| RGB | rgb(54, 125, 77) | color: rgb(54, 125, 77) | |
| CMYK | cmyk(57%, 0%, 38%, 51%) | — | |
| HSV | hsv(139, 57%, 49%) | — | |
| HWB | hwb(139 21% 51%) | color: hwb(139 21% 51%) | |
| OKLCH | oklch(0.5311 0.104 151.86) | color: oklch(0.5311 0.104 151.86) | |
| Lab | lab(46.96 -33.81 19.63) | color: lab(46.96 -33.81 19.63) | |
| LCH | lch(46.96 39.1 149.86) | color: lch(46.96 39.1 149.86) |
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)
#555559 — rgb(85, 85, 89)
Deuteranopia (Green-blind)
#514B5B — rgb(81, 75, 91)
Tritanopia (Blue-blind)
#3A6264 — rgb(58, 98, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 40%, 35%);
text
color: hsl(140, 40%, 35%);
border
border: 2px solid hsl(140, 40%, 35%);
gradient light
background: linear-gradient(to right, hsl(140, 40%, 55%), hsl(140, 40%, 35%));
gradient dark
background: linear-gradient(to right, hsl(140, 40%, 35%), hsl(140, 40%, 15%))
hex
background-color: #367D4D;
tailwind
bg-[hsl(140,40%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 40%, 35%, 0.4);
css variable
--color-primary: hsl(140, 40%, 35%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(140, 40%, 35%)?
HEX: #367D4D | RGB: rgb(54, 125, 77) | CMYK: 57%, 0%, 38%, 51% | HSV: 139°, 57%, 49%. Copy any format from the conversion table above.
What colors go well with #367D4D?
The complementary color is HSL(320, 40%, 35%). For a triadic harmony, use hues 140°, 260°, and 20°. For analogous combinations, try hues 110° and 170°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(140, 40%, 35%) in CSS?
As HSL: color: hsl(140, 40%, 35%); — As HEX: color: #367D4D; — As RGB: color: rgb(54, 125, 77); — Tailwind CSS: bg-[hsl(140,40%,35%)] — CSS variable: --color-primary: hsl(140, 40%, 35%);