HSL(102, 50%, 37%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,50%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 50%, 37%) | color: hsl(102, 50%, 37%) | |
| HEX | #4B8E2F | color: #4B8E2F | |
| RGB | rgb(75, 142, 47) | color: rgb(75, 142, 47) | |
| CMYK | cmyk(47%, 0%, 67%, 44%) | — | |
| HSV | hsv(102, 67%, 56%) | — | |
| HWB | hwb(102 18% 44%) | color: hwb(102 18% 44%) | |
| OKLCH | oklch(0.5817 0.1461 137.82) | color: oklch(0.5817 0.1461 137.82) | |
| Lab | lab(53 -39.22 42.6) | color: lab(53 -39.22 42.6) | |
| LCH | lch(53 57.9 132.63) | color: lch(53 57.9 132.63) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#686946 — rgb(104, 105, 70)
Deuteranopia (Green-blind)
#645F4C — rgb(100, 95, 76)
Tritanopia (Blue-blind)
#4E585C — rgb(78, 88, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 50%, 37%);
text
color: hsl(102, 50%, 37%);
border
border: 2px solid hsl(102, 50%, 37%);
gradient light
background: linear-gradient(to right, hsl(102, 50%, 57%), hsl(102, 50%, 37%));
gradient dark
background: linear-gradient(to right, hsl(102, 50%, 37%), hsl(102, 50%, 17%))
hex
background-color: #4B8E2F;
tailwind
bg-[hsl(102,50%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 50%, 37%, 0.4);
css variable
--color-primary: hsl(102, 50%, 37%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 50%, 37%)?
HEX: #4B8E2F | RGB: rgb(75, 142, 47) | CMYK: 47%, 0%, 67%, 44% | HSV: 102°, 67%, 56%. Copy any format from the conversion table above.
What colors go well with #4B8E2F?
The complementary color is HSL(282, 50%, 37%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 50%, 37%) in CSS?
As HSL: color: hsl(102, 50%, 37%); — As HEX: color: #4B8E2F; — As RGB: color: rgb(75, 142, 47); — Tailwind CSS: bg-[hsl(102,50%,37%)] — CSS variable: --color-primary: hsl(102, 50%, 37%);