HSL(140, 12%, 50%)
Grayish Green — Green color
Adjust Color
Color Information
Color Name
Grayish Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(140,12%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 12%, 50%) | color: hsl(140, 12%, 50%) | |
| HEX | #708F7A | color: #708F7A | |
| RGB | rgb(112, 143, 122) | color: rgb(112, 143, 122) | |
| CMYK | cmyk(22%, 0%, 15%, 44%) | — | |
| HSV | hsv(139, 22%, 56%) | — | |
| HWB | hwb(139 44% 44%) | color: hwb(139 44% 44%) | |
| OKLCH | oklch(0.6201 0.0471 155.19) | color: oklch(0.6201 0.0471 155.19) | |
| Lab | lab(56.58 -15.36 7.63) | color: lab(56.58 -15.36 7.63) | |
| LCH | lch(56.58 17.15 153.58) | color: lch(56.58 17.15 153.58) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#7D7E7F — rgb(125, 126, 127)
Deuteranopia (Green-blind)
#7C7980 — rgb(124, 121, 128)
Tritanopia (Blue-blind)
#728384 — rgb(114, 131, 132)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 12%, 50%);
text
color: hsl(140, 12%, 50%);
border
border: 2px solid hsl(140, 12%, 50%);
gradient light
background: linear-gradient(to right, hsl(140, 12%, 70%), hsl(140, 12%, 50%));
gradient dark
background: linear-gradient(to right, hsl(140, 12%, 50%), hsl(140, 12%, 30%))
hex
background-color: #708F7A;
tailwind
bg-[hsl(140,12%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 12%, 50%, 0.4);
css variable
--color-primary: hsl(140, 12%, 50%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(140, 12%, 50%)?
HEX: #708F7A | RGB: rgb(112, 143, 122) | CMYK: 22%, 0%, 15%, 44% | HSV: 139°, 22%, 56%. Copy any format from the conversion table above.
What colors go well with #708F7A?
The complementary color is HSL(320, 12%, 50%). 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, 12%, 50%) in CSS?
As HSL: color: hsl(140, 12%, 50%); — As HEX: color: #708F7A; — As RGB: color: rgb(112, 143, 122); — Tailwind CSS: bg-[hsl(140,12%,50%)] — CSS variable: --color-primary: hsl(140, 12%, 50%);