HSL(104, 50%, 33%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(104,50%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(104, 50%, 33%) | color: hsl(104, 50%, 33%) | |
| HEX | #417E2A | color: #417E2A | |
| RGB | rgb(65, 126, 42) | color: rgb(65, 126, 42) | |
| CMYK | cmyk(48%, 0%, 67%, 51%) | — | |
| HSV | hsv(104, 67%, 49%) | — | |
| HWB | hwb(104 16% 51%) | color: hwb(104 16% 51%) | |
| OKLCH | oklch(0.5331 0.1335 138.27) | color: oklch(0.5331 0.1335 138.27) | |
| Lab | lab(47.25 -36.13 38.46) | color: lab(47.25 -36.13 38.46) | |
| LCH | lch(47.25 52.77 133.21) | color: lch(47.25 52.77 133.21) |
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)
#5B5C3E — rgb(91, 92, 62)
Deuteranopia (Green-blind)
#585343 — rgb(88, 83, 67)
Tritanopia (Blue-blind)
#444E52 — rgb(68, 78, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(104, 50%, 33%);
text
color: hsl(104, 50%, 33%);
border
border: 2px solid hsl(104, 50%, 33%);
gradient light
background: linear-gradient(to right, hsl(104, 50%, 53%), hsl(104, 50%, 33%));
gradient dark
background: linear-gradient(to right, hsl(104, 50%, 33%), hsl(104, 50%, 13%))
hex
background-color: #417E2A;
tailwind
bg-[hsl(104,50%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(104, 50%, 33%, 0.4);
css variable
--color-primary: hsl(104, 50%, 33%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(104, 50%, 33%)?
HEX: #417E2A | RGB: rgb(65, 126, 42) | CMYK: 48%, 0%, 67%, 51% | HSV: 104°, 67%, 49%. Copy any format from the conversion table above.
What colors go well with #417E2A?
The complementary color is HSL(284, 50%, 33%). For a triadic harmony, use hues 104°, 224°, and 344°. For analogous combinations, try hues 74° and 134°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(104, 50%, 33%) in CSS?
As HSL: color: hsl(104, 50%, 33%); — As HEX: color: #417E2A; — As RGB: color: rgb(65, 126, 42); — Tailwind CSS: bg-[hsl(104,50%,33%)] — CSS variable: --color-primary: hsl(104, 50%, 33%);