HSL(68, 20%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(68,20%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(68, 20%, 31%) | color: hsl(68, 20%, 31%) | |
| HEX | #5B5F3F | color: #5B5F3F | |
| RGB | rgb(91, 95, 63) | color: rgb(91, 95, 63) | |
| CMYK | cmyk(4%, 0%, 34%, 63%) | — | |
| HSV | hsv(68, 34%, 37%) | — | |
| HWB | hwb(68 24% 63%) | color: hwb(68 24% 63%) | |
| OKLCH | oklch(0.4731 0.0486 114.08) | color: oklch(0.4731 0.0486 114.08) | |
| Lab | lab(39.19 -7.44 17.83) | color: lab(39.19 -7.44 17.83) | |
| LCH | lch(39.19 19.32 112.65) | color: lch(39.19 19.32 112.65) |
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)
#5D5D47 — rgb(93, 93, 71)
Deuteranopia (Green-blind)
#5D5C49 — rgb(93, 92, 73)
Tritanopia (Blue-blind)
#5B4D4E — rgb(91, 77, 78)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(68, 20%, 31%);
text
color: hsl(68, 20%, 31%);
border
border: 2px solid hsl(68, 20%, 31%);
gradient light
background: linear-gradient(to right, hsl(68, 20%, 51%), hsl(68, 20%, 31%));
gradient dark
background: linear-gradient(to right, hsl(68, 20%, 31%), hsl(68, 20%, 11%))
hex
background-color: #5B5F3F;
tailwind
bg-[hsl(68,20%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(68, 20%, 31%, 0.4);
css variable
--color-primary: hsl(68, 20%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(68, 20%, 31%)?
HEX: #5B5F3F | RGB: rgb(91, 95, 63) | CMYK: 4%, 0%, 34%, 63% | HSV: 68°, 34%, 37%. Copy any format from the conversion table above.
What colors go well with #5B5F3F?
The complementary color is HSL(248, 20%, 31%). For a triadic harmony, use hues 68°, 188°, and 308°. For analogous combinations, try hues 38° and 98°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(68, 20%, 31%) in CSS?
As HSL: color: hsl(68, 20%, 31%); — As HEX: color: #5B5F3F; — As RGB: color: rgb(91, 95, 63); — Tailwind CSS: bg-[hsl(68,20%,31%)] — CSS variable: --color-primary: hsl(68, 20%, 31%);