HSL(142, 11%, 12%)
Very Dark Green — Green color
Adjust Color
Color Information
Color Name
Very Dark Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(142,11%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 11%, 12%) | color: hsl(142, 11%, 12%) | |
| HEX | #1B221E | color: #1B221E | |
| RGB | rgb(27, 34, 30) | color: rgb(27, 34, 30) | |
| CMYK | cmyk(21%, 0%, 12%, 87%) | — | |
| HSV | hsv(146, 21%, 13%) | — | |
| HWB | hwb(146 10% 87%) | color: hwb(146 10% 87%) | |
| OKLCH | oklch(0.2435 0.0126 160.27) | color: oklch(0.2435 0.0126 160.27) | |
| Lab | lab(12.42 -4.22 1.64) | color: lab(12.42 -4.22 1.64) | |
| LCH | lch(12.42 4.53 158.76) | color: lch(12.42 4.53 158.76) |
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)
#1E1E1F — rgb(30, 30, 31)
Deuteranopia (Green-blind)
#1E1D1F — rgb(30, 29, 31)
Tritanopia (Blue-blind)
#1B2020 — rgb(27, 32, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 11%, 12%);
text
color: hsl(142, 11%, 12%);
border
border: 2px solid hsl(142, 11%, 12%);
gradient light
background: linear-gradient(to right, hsl(142, 11%, 32%), hsl(142, 11%, 12%));
gradient dark
background: linear-gradient(to right, hsl(142, 11%, 12%), hsl(142, 11%, 0%))
hex
background-color: #1B221E;
tailwind
bg-[hsl(142,11%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 11%, 12%, 0.4);
css variable
--color-primary: hsl(142, 11%, 12%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(142, 11%, 12%)?
HEX: #1B221E | RGB: rgb(27, 34, 30) | CMYK: 21%, 0%, 12%, 87% | HSV: 146°, 21%, 13%. Copy any format from the conversion table above.
What colors go well with #1B221E?
The complementary color is HSL(322, 11%, 12%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(142, 11%, 12%) in CSS?
As HSL: color: hsl(142, 11%, 12%); — As HEX: color: #1B221E; — As RGB: color: rgb(27, 34, 30); — Tailwind CSS: bg-[hsl(142,11%,12%)] — CSS variable: --color-primary: hsl(142, 11%, 12%);