HSL(140, 70%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(140,70%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 70%, 27%) | color: hsl(140, 70%, 27%) | |
| HEX | #157535 | color: #157535 | |
| RGB | rgb(21, 117, 53) | color: rgb(21, 117, 53) | |
| CMYK | cmyk(82%, 0%, 55%, 54%) | — | |
| HSV | hsv(140, 82%, 46%) | — | |
| HWB | hwb(140 8% 54%) | color: hwb(140 8% 54%) | |
| OKLCH | oklch(0.4945 0.1299 149.12) | color: oklch(0.4945 0.1299 149.12) | |
| Lab | lab(42.97 -41.53 27.66) | color: lab(42.97 -41.53 27.66) | |
| LCH | lch(42.97 49.9 146.34) | color: lch(42.97 49.9 146.34) |
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)
#3F3F44 — rgb(63, 63, 68)
Deuteranopia (Green-blind)
#393248 — rgb(57, 50, 72)
Tritanopia (Blue-blind)
#1A5153 — rgb(26, 81, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 70%, 27%);
text
color: hsl(140, 70%, 27%);
border
border: 2px solid hsl(140, 70%, 27%);
gradient light
background: linear-gradient(to right, hsl(140, 70%, 47%), hsl(140, 70%, 27%));
gradient dark
background: linear-gradient(to right, hsl(140, 70%, 27%), hsl(140, 70%, 7%))
hex
background-color: #157535;
tailwind
bg-[hsl(140,70%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 70%, 27%, 0.4);
css variable
--color-primary: hsl(140, 70%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(140, 70%, 27%)?
HEX: #157535 | RGB: rgb(21, 117, 53) | CMYK: 82%, 0%, 55%, 54% | HSV: 140°, 82%, 46%. Copy any format from the conversion table above.
What colors go well with #157535?
The complementary color is HSL(320, 70%, 27%). 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, 70%, 27%) in CSS?
As HSL: color: hsl(140, 70%, 27%); — As HEX: color: #157535; — As RGB: color: rgb(21, 117, 53); — Tailwind CSS: bg-[hsl(140,70%,27%)] — CSS variable: --color-primary: hsl(140, 70%, 27%);