HSL(68, 70%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(68,70%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(68, 70%, 28%) | color: hsl(68, 70%, 28%) | |
| HEX | #6C7915 | color: #6C7915 | |
| RGB | rgb(108, 121, 21) | color: rgb(108, 121, 21) | |
| CMYK | cmyk(11%, 0%, 83%, 53%) | — | |
| HSV | hsv(68, 83%, 47%) | — | |
| HWB | hwb(68 8% 53%) | color: hwb(68 8% 53%) | |
| OKLCH | oklch(0.547 0.1185 117.24) | color: oklch(0.547 0.1185 117.24) | |
| Lab | lab(48.16 -17.88 48.37) | color: lab(48.16 -17.88 48.37) | |
| LCH | lch(48.16 51.57 110.29) | color: lch(48.16 51.57 110.29) |
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)
#72722D — rgb(114, 114, 45)
Deuteranopia (Green-blind)
#717033 — rgb(113, 112, 51)
Tritanopia (Blue-blind)
#6D4045 — rgb(109, 64, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(68, 70%, 28%);
text
color: hsl(68, 70%, 28%);
border
border: 2px solid hsl(68, 70%, 28%);
gradient light
background: linear-gradient(to right, hsl(68, 70%, 48%), hsl(68, 70%, 28%));
gradient dark
background: linear-gradient(to right, hsl(68, 70%, 28%), hsl(68, 70%, 8%))
hex
background-color: #6C7915;
tailwind
bg-[hsl(68,70%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(68, 70%, 28%, 0.4);
css variable
--color-primary: hsl(68, 70%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(68, 70%, 28%)?
HEX: #6C7915 | RGB: rgb(108, 121, 21) | CMYK: 11%, 0%, 83%, 53% | HSV: 68°, 83%, 47%. Copy any format from the conversion table above.
What colors go well with #6C7915?
The complementary color is HSL(248, 70%, 28%). 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, 70%, 28%) in CSS?
As HSL: color: hsl(68, 70%, 28%); — As HEX: color: #6C7915; — As RGB: color: rgb(108, 121, 21); — Tailwind CSS: bg-[hsl(68,70%,28%)] — CSS variable: --color-primary: hsl(68, 70%, 28%);