HSL(68, 57%, 22%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(68,57%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(68, 57%, 22%) | color: hsl(68, 57%, 22%) | |
| HEX | #505818 | color: #505818 | |
| RGB | rgb(80, 88, 24) | color: rgb(80, 88, 24) | |
| CMYK | cmyk(9%, 0%, 73%, 65%) | — | |
| HSV | hsv(68, 73%, 35%) | — | |
| HWB | hwb(68 9% 65%) | color: hwb(68 9% 65%) | |
| OKLCH | oklch(0.4396 0.0863 116.2) | color: oklch(0.4396 0.0863 116.2) | |
| Lab | lab(35.5 -12.77 34.43) | color: lab(35.5 -12.77 34.43) | |
| LCH | lch(35.5 36.72 110.35) | color: lch(35.5 36.72 110.35) |
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)
#535427 — rgb(83, 84, 39)
Deuteranopia (Green-blind)
#53522B — rgb(83, 82, 43)
Tritanopia (Blue-blind)
#503436 — rgb(80, 52, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(68, 57%, 22%);
text
color: hsl(68, 57%, 22%);
border
border: 2px solid hsl(68, 57%, 22%);
gradient light
background: linear-gradient(to right, hsl(68, 57%, 42%), hsl(68, 57%, 22%));
gradient dark
background: linear-gradient(to right, hsl(68, 57%, 22%), hsl(68, 57%, 2%))
hex
background-color: #505818;
tailwind
bg-[hsl(68,57%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(68, 57%, 22%, 0.4);
css variable
--color-primary: hsl(68, 57%, 22%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(68, 57%, 22%)?
HEX: #505818 | RGB: rgb(80, 88, 24) | CMYK: 9%, 0%, 73%, 65% | HSV: 68°, 73%, 35%. Copy any format from the conversion table above.
What colors go well with #505818?
The complementary color is HSL(248, 57%, 22%). 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, 57%, 22%) in CSS?
As HSL: color: hsl(68, 57%, 22%); — As HEX: color: #505818; — As RGB: color: rgb(80, 88, 24); — Tailwind CSS: bg-[hsl(68,57%,22%)] — CSS variable: --color-primary: hsl(68, 57%, 22%);