HSL(127, 12%, 48%)
Grayish Green — Green color
Adjust Color
Color Information
Color Name
Grayish Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(127,12%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 12%, 48%) | color: hsl(127, 12%, 48%) | |
| HEX | #6C896F | color: #6C896F | |
| RGB | rgb(108, 137, 111) | color: rgb(108, 137, 111) | |
| CMYK | cmyk(21%, 0%, 19%, 46%) | — | |
| HSV | hsv(126, 21%, 54%) | — | |
| HWB | hwb(126 43% 46%) | color: hwb(126 43% 46%) | |
| OKLCH | oklch(0.6001 0.0512 147.69) | color: oklch(0.6001 0.0512 147.69) | |
| Lab | lab(54.27 -15.75 10.62) | color: lab(54.27 -15.75 10.62) | |
| LCH | lch(54.27 19 146.01) | color: lch(54.27 19 146.01) |
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)
#797975 — rgb(121, 121, 117)
Deuteranopia (Green-blind)
#777577 — rgb(119, 117, 119)
Tritanopia (Blue-blind)
#6D7A7B — rgb(109, 122, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 12%, 48%);
text
color: hsl(127, 12%, 48%);
border
border: 2px solid hsl(127, 12%, 48%);
gradient light
background: linear-gradient(to right, hsl(127, 12%, 68%), hsl(127, 12%, 48%));
gradient dark
background: linear-gradient(to right, hsl(127, 12%, 48%), hsl(127, 12%, 28%))
hex
background-color: #6C896F;
tailwind
bg-[hsl(127,12%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 12%, 48%, 0.4);
css variable
--color-primary: hsl(127, 12%, 48%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(127, 12%, 48%)?
HEX: #6C896F | RGB: rgb(108, 137, 111) | CMYK: 21%, 0%, 19%, 46% | HSV: 126°, 21%, 54%. Copy any format from the conversion table above.
What colors go well with #6C896F?
The complementary color is HSL(307, 12%, 48%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(127, 12%, 48%) in CSS?
As HSL: color: hsl(127, 12%, 48%); — As HEX: color: #6C896F; — As RGB: color: rgb(108, 137, 111); — Tailwind CSS: bg-[hsl(127,12%,48%)] — CSS variable: --color-primary: hsl(127, 12%, 48%);