HSL(143, 31%, 19%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(143,31%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(143, 31%, 19%) | color: hsl(143, 31%, 19%) | |
| HEX | #213F2D | color: #213F2D | |
| RGB | rgb(33, 63, 45) | color: rgb(33, 63, 45) | |
| CMYK | cmyk(48%, 0%, 29%, 75%) | — | |
| HSV | hsv(144, 48%, 25%) | — | |
| HWB | hwb(144 13% 75%) | color: hwb(144 13% 75%) | |
| OKLCH | oklch(0.3382 0.0484 156.31) | color: oklch(0.3382 0.0484 156.31) | |
| Lab | lab(23.89 -16.11 7.61) | color: lab(23.89 -16.11 7.61) | |
| LCH | lch(23.89 17.82 154.72) | color: lch(23.89 17.82 154.72) |
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)
#2E2E31 — rgb(46, 46, 49)
Deuteranopia (Green-blind)
#2C2A32 — rgb(44, 42, 50)
Tritanopia (Blue-blind)
#233536 — rgb(35, 53, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(143, 31%, 19%);
text
color: hsl(143, 31%, 19%);
border
border: 2px solid hsl(143, 31%, 19%);
gradient light
background: linear-gradient(to right, hsl(143, 31%, 39%), hsl(143, 31%, 19%));
gradient dark
background: linear-gradient(to right, hsl(143, 31%, 19%), hsl(143, 31%, 0%))
hex
background-color: #213F2D;
tailwind
bg-[hsl(143,31%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(143, 31%, 19%, 0.4);
css variable
--color-primary: hsl(143, 31%, 19%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(143, 31%, 19%)?
HEX: #213F2D | RGB: rgb(33, 63, 45) | CMYK: 48%, 0%, 29%, 75% | HSV: 144°, 48%, 25%. Copy any format from the conversion table above.
What colors go well with #213F2D?
The complementary color is HSL(323, 31%, 19%). For a triadic harmony, use hues 143°, 263°, and 23°. For analogous combinations, try hues 113° and 173°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(143, 31%, 19%) in CSS?
As HSL: color: hsl(143, 31%, 19%); — As HEX: color: #213F2D; — As RGB: color: rgb(33, 63, 45); — Tailwind CSS: bg-[hsl(143,31%,19%)] — CSS variable: --color-primary: hsl(143, 31%, 19%);