HSL(108, 40%, 47%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(108,40%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(108, 40%, 47%) | color: hsl(108, 40%, 47%) | |
| HEX | #5BA848 | color: #5BA848 | |
| RGB | rgb(91, 168, 72) | color: rgb(91, 168, 72) | |
| CMYK | cmyk(46%, 0%, 57%, 34%) | — | |
| HSV | hsv(108, 57%, 66%) | — | |
| HWB | hwb(108 28% 34%) | color: hwb(108 28% 34%) | |
| OKLCH | oklch(0.6602 0.1525 139.74) | color: oklch(0.6602 0.1525 139.74) | |
| Lab | lab(62.25 -42.46 41.69) | color: lab(62.25 -42.46 41.69) | |
| LCH | lch(62.25 59.51 135.52) | color: lch(62.25 59.51 135.52) |
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)
#7C7D5F — rgb(124, 125, 95)
Deuteranopia (Green-blind)
#787265 — rgb(120, 114, 101)
Tritanopia (Blue-blind)
#5F7276 — rgb(95, 114, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(108, 40%, 47%);
text
color: hsl(108, 40%, 47%);
border
border: 2px solid hsl(108, 40%, 47%);
gradient light
background: linear-gradient(to right, hsl(108, 40%, 67%), hsl(108, 40%, 47%));
gradient dark
background: linear-gradient(to right, hsl(108, 40%, 47%), hsl(108, 40%, 27%))
hex
background-color: #5BA848;
tailwind
bg-[hsl(108,40%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(108, 40%, 47%, 0.4);
css variable
--color-primary: hsl(108, 40%, 47%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(108, 40%, 47%)?
HEX: #5BA848 | RGB: rgb(91, 168, 72) | CMYK: 46%, 0%, 57%, 34% | HSV: 108°, 57%, 66%. Copy any format from the conversion table above.
What colors go well with #5BA848?
The complementary color is HSL(288, 40%, 47%). For a triadic harmony, use hues 108°, 228°, and 348°. For analogous combinations, try hues 78° and 138°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(108, 40%, 47%) in CSS?
As HSL: color: hsl(108, 40%, 47%); — As HEX: color: #5BA848; — As RGB: color: rgb(91, 168, 72); — Tailwind CSS: bg-[hsl(108,40%,47%)] — CSS variable: --color-primary: hsl(108, 40%, 47%);