HSL(108, 20%, 53%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(108,20%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(108, 20%, 53%) | color: hsl(108, 20%, 53%) | |
| HEX | #799F6F | color: #799F6F | |
| RGB | rgb(121, 159, 111) | color: rgb(121, 159, 111) | |
| CMYK | cmyk(24%, 0%, 30%, 38%) | — | |
| HSV | hsv(108, 30%, 62%) | — | |
| HWB | hwb(108 43% 38%) | color: hwb(108 43% 38%) | |
| OKLCH | oklch(0.6615 0.0809 139.21) | color: oklch(0.6615 0.0809 139.21) | |
| Lab | lab(61.66 -22.49 20.96) | color: lab(61.66 -22.49 20.96) | |
| LCH | lch(61.66 30.74 137.02) | color: lch(61.66 30.74 137.02) |
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)
#898A7B — rgb(137, 138, 123)
Deuteranopia (Green-blind)
#87847D — rgb(135, 132, 125)
Tritanopia (Blue-blind)
#7B8486 — rgb(123, 132, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(108, 20%, 53%);
text
color: hsl(108, 20%, 53%);
border
border: 2px solid hsl(108, 20%, 53%);
gradient light
background: linear-gradient(to right, hsl(108, 20%, 73%), hsl(108, 20%, 53%));
gradient dark
background: linear-gradient(to right, hsl(108, 20%, 53%), hsl(108, 20%, 33%))
hex
background-color: #799F6F;
tailwind
bg-[hsl(108,20%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(108, 20%, 53%, 0.4);
css variable
--color-primary: hsl(108, 20%, 53%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(108, 20%, 53%)?
HEX: #799F6F | RGB: rgb(121, 159, 111) | CMYK: 24%, 0%, 30%, 38% | HSV: 108°, 30%, 62%. Copy any format from the conversion table above.
What colors go well with #799F6F?
The complementary color is HSL(288, 20%, 53%). 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%, 53%) in CSS?
As HSL: color: hsl(108, 20%, 53%); — As HEX: color: #799F6F; — As RGB: color: rgb(121, 159, 111); — Tailwind CSS: bg-[hsl(108,20%,53%)] — CSS variable: --color-primary: hsl(108, 20%, 53%);