HSL(103, 50%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(103,50%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(103, 50%, 31%) | color: hsl(103, 50%, 31%) | |
| HEX | #3E7728 | color: #3E7728 | |
| RGB | rgb(62, 119, 40) | color: rgb(62, 119, 40) | |
| CMYK | cmyk(48%, 0%, 66%, 53%) | — | |
| HSV | hsv(103, 66%, 47%) | — | |
| HWB | hwb(103 16% 53%) | color: hwb(103 16% 53%) | |
| OKLCH | oklch(0.5123 0.1269 138.13) | color: oklch(0.5123 0.1269 138.13) | |
| Lab | lab(44.76 -34.28 36.61) | color: lab(44.76 -34.28 36.61) | |
| LCH | lch(44.76 50.15 133.12) | color: lch(44.76 50.15 133.12) |
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)
#57573B — rgb(87, 87, 59)
Deuteranopia (Green-blind)
#534F40 — rgb(83, 79, 64)
Tritanopia (Blue-blind)
#414A4E — rgb(65, 74, 78)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(103, 50%, 31%);
text
color: hsl(103, 50%, 31%);
border
border: 2px solid hsl(103, 50%, 31%);
gradient light
background: linear-gradient(to right, hsl(103, 50%, 51%), hsl(103, 50%, 31%));
gradient dark
background: linear-gradient(to right, hsl(103, 50%, 31%), hsl(103, 50%, 11%))
hex
background-color: #3E7728;
tailwind
bg-[hsl(103,50%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(103, 50%, 31%, 0.4);
css variable
--color-primary: hsl(103, 50%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(103, 50%, 31%)?
HEX: #3E7728 | RGB: rgb(62, 119, 40) | CMYK: 48%, 0%, 66%, 53% | HSV: 103°, 66%, 47%. Copy any format from the conversion table above.
What colors go well with #3E7728?
The complementary color is HSL(283, 50%, 31%). 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, 50%, 31%) in CSS?
As HSL: color: hsl(103, 50%, 31%); — As HEX: color: #3E7728; — As RGB: color: rgb(62, 119, 40); — Tailwind CSS: bg-[hsl(103,50%,31%)] — CSS variable: --color-primary: hsl(103, 50%, 31%);