HSL(108, 20%, 48%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(108,20%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(108, 20%, 48%) | color: hsl(108, 20%, 48%) | |
| HEX | #6C9362 | color: #6C9362 | |
| RGB | rgb(108, 147, 98) | color: rgb(108, 147, 98) | |
| CMYK | cmyk(27%, 0%, 33%, 42%) | — | |
| HSV | hsv(108, 33%, 58%) | — | |
| HWB | hwb(108 39% 42%) | color: hwb(108 39% 42%) | |
| OKLCH | oklch(0.6212 0.0836 139.35) | color: oklch(0.6212 0.0836 139.35) | |
| Lab | lab(57.01 -23.28 21.74) | color: lab(57.01 -23.28 21.74) | |
| LCH | lch(57.01 31.85 136.96) | color: lch(57.01 31.85 136.96) |
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)
#7D7D6E — rgb(125, 125, 110)
Deuteranopia (Green-blind)
#7B7871 — rgb(123, 120, 113)
Tritanopia (Blue-blind)
#6E7779 — rgb(110, 119, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(108, 20%, 48%);
text
color: hsl(108, 20%, 48%);
border
border: 2px solid hsl(108, 20%, 48%);
gradient light
background: linear-gradient(to right, hsl(108, 20%, 68%), hsl(108, 20%, 48%));
gradient dark
background: linear-gradient(to right, hsl(108, 20%, 48%), hsl(108, 20%, 28%))
hex
background-color: #6C9362;
tailwind
bg-[hsl(108,20%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(108, 20%, 48%, 0.4);
css variable
--color-primary: hsl(108, 20%, 48%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(108, 20%, 48%)?
HEX: #6C9362 | RGB: rgb(108, 147, 98) | CMYK: 27%, 0%, 33%, 42% | HSV: 108°, 33%, 58%. Copy any format from the conversion table above.
What colors go well with #6C9362?
The complementary color is HSL(288, 20%, 48%). 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, 20%, 48%) in CSS?
As HSL: color: hsl(108, 20%, 48%); — As HEX: color: #6C9362; — As RGB: color: rgb(108, 147, 98); — Tailwind CSS: bg-[hsl(108,20%,48%)] — CSS variable: --color-primary: hsl(108, 20%, 48%);