HSL(103, 46%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(103,46%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(103, 46%, 15%) | color: hsl(103, 46%, 15%) | |
| HEX | #1F3815 | color: #1F3815 | |
| RGB | rgb(31, 56, 21) | color: rgb(31, 56, 21) | |
| CMYK | cmyk(45%, 0%, 63%, 78%) | — | |
| HSV | hsv(103, 63%, 22%) | — | |
| HWB | hwb(103 8% 78%) | color: hwb(103 8% 78%) | |
| OKLCH | oklch(0.3106 0.0659 137.56) | color: oklch(0.3106 0.0659 137.56) | |
| Lab | lab(20.73 -17.68 18.68) | color: lab(20.73 -17.68 18.68) | |
| LCH | lch(20.73 25.72 133.42) | color: lch(20.73 25.72 133.42) |
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)
#2A2A1D — rgb(42, 42, 29)
Deuteranopia (Green-blind)
#282720 — rgb(40, 39, 32)
Tritanopia (Blue-blind)
#202426 — rgb(32, 36, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(103, 46%, 15%);
text
color: hsl(103, 46%, 15%);
border
border: 2px solid hsl(103, 46%, 15%);
gradient light
background: linear-gradient(to right, hsl(103, 46%, 35%), hsl(103, 46%, 15%));
gradient dark
background: linear-gradient(to right, hsl(103, 46%, 15%), hsl(103, 46%, 0%))
hex
background-color: #1F3815;
tailwind
bg-[hsl(103,46%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(103, 46%, 15%, 0.4);
css variable
--color-primary: hsl(103, 46%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(103, 46%, 15%)?
HEX: #1F3815 | RGB: rgb(31, 56, 21) | CMYK: 45%, 0%, 63%, 78% | HSV: 103°, 63%, 22%. Copy any format from the conversion table above.
What colors go well with #1F3815?
The complementary color is HSL(283, 46%, 15%). For a triadic harmony, use hues 103°, 223°, and 343°. For analogous combinations, try hues 73° and 133°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(103, 46%, 15%) in CSS?
As HSL: color: hsl(103, 46%, 15%); — As HEX: color: #1F3815; — As RGB: color: rgb(31, 56, 21); — Tailwind CSS: bg-[hsl(103,46%,15%)] — CSS variable: --color-primary: hsl(103, 46%, 15%);