HSL(140, 20%, 35%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(140,20%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 20%, 35%) | color: hsl(140, 20%, 35%) | |
| HEX | #476B53 | color: #476B53 | |
| RGB | rgb(71, 107, 83) | color: rgb(71, 107, 83) | |
| CMYK | cmyk(34%, 0%, 22%, 58%) | — | |
| HSV | hsv(140, 34%, 42%) | — | |
| HWB | hwb(140 28% 58%) | color: hwb(140 28% 58%) | |
| OKLCH | oklch(0.4931 0.0565 154.64) | color: oklch(0.4931 0.0565 154.64) | |
| Lab | lab(41.97 -18.5 9.43) | color: lab(41.97 -18.5 9.43) | |
| LCH | lch(41.97 20.76 152.99) | color: lch(41.97 20.76 152.99) |
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)
#575759 — rgb(87, 87, 89)
Deuteranopia (Green-blind)
#55525A — rgb(85, 82, 90)
Tritanopia (Blue-blind)
#495D5E — rgb(73, 93, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 20%, 35%);
text
color: hsl(140, 20%, 35%);
border
border: 2px solid hsl(140, 20%, 35%);
gradient light
background: linear-gradient(to right, hsl(140, 20%, 55%), hsl(140, 20%, 35%));
gradient dark
background: linear-gradient(to right, hsl(140, 20%, 35%), hsl(140, 20%, 15%))
hex
background-color: #476B53;
tailwind
bg-[hsl(140,20%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 20%, 35%, 0.4);
css variable
--color-primary: hsl(140, 20%, 35%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(140, 20%, 35%)?
HEX: #476B53 | RGB: rgb(71, 107, 83) | CMYK: 34%, 0%, 22%, 58% | HSV: 140°, 34%, 42%. Copy any format from the conversion table above.
What colors go well with #476B53?
The complementary color is HSL(320, 20%, 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, 20%, 35%) in CSS?
As HSL: color: hsl(140, 20%, 35%); — As HEX: color: #476B53; — As RGB: color: rgb(71, 107, 83); — Tailwind CSS: bg-[hsl(140,20%,35%)] — CSS variable: --color-primary: hsl(140, 20%, 35%);