HSL(140, 70%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(140,70%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 70%, 23%) | color: hsl(140, 70%, 23%) | |
| HEX | #12642D | color: #12642D | |
| RGB | rgb(18, 100, 45) | color: rgb(18, 100, 45) | |
| CMYK | cmyk(82%, 0%, 55%, 61%) | — | |
| HSV | hsv(140, 82%, 39%) | — | |
| HWB | hwb(140 7% 61%) | color: hwb(140 7% 61%) | |
| OKLCH | oklch(0.4429 0.1152 149.2) | color: oklch(0.4429 0.1152 149.2) | |
| Lab | lab(36.8 -36.82 24.42) | color: lab(36.8 -36.82 24.42) | |
| LCH | lch(36.8 44.18 146.45) | color: lch(36.8 44.18 146.45) |
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)
#36363A — rgb(54, 54, 58)
Deuteranopia (Green-blind)
#312B3E — rgb(49, 43, 62)
Tritanopia (Blue-blind)
#164547 — rgb(22, 69, 71)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 70%, 23%);
text
color: hsl(140, 70%, 23%);
border
border: 2px solid hsl(140, 70%, 23%);
gradient light
background: linear-gradient(to right, hsl(140, 70%, 43%), hsl(140, 70%, 23%));
gradient dark
background: linear-gradient(to right, hsl(140, 70%, 23%), hsl(140, 70%, 3%))
hex
background-color: #12642D;
tailwind
bg-[hsl(140,70%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 70%, 23%, 0.4);
css variable
--color-primary: hsl(140, 70%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(140, 70%, 23%)?
HEX: #12642D | RGB: rgb(18, 100, 45) | CMYK: 82%, 0%, 55%, 61% | HSV: 140°, 82%, 39%. Copy any format from the conversion table above.
What colors go well with #12642D?
The complementary color is HSL(320, 70%, 23%). 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%, 23%) in CSS?
As HSL: color: hsl(140, 70%, 23%); — As HEX: color: #12642D; — As RGB: color: rgb(18, 100, 45); — Tailwind CSS: bg-[hsl(140,70%,23%)] — CSS variable: --color-primary: hsl(140, 70%, 23%);