HSL(106, 10%, 52%)
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(106,10%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(106, 10%, 52%) | color: hsl(106, 10%, 52%) | |
| HEX | #7E9178 | color: #7E9178 | |
| RGB | rgb(126, 145, 120) | color: rgb(126, 145, 120) | |
| CMYK | cmyk(13%, 0%, 17%, 43%) | — | |
| HSV | hsv(106, 17%, 57%) | — | |
| HWB | hwb(106 47% 43%) | color: hwb(106 47% 43%) | |
| OKLCH | oklch(0.6343 0.0427 138.2) | color: oklch(0.6343 0.0427 138.2) | |
| Lab | lab(58.08 -11.75 11.03) | color: lab(58.08 -11.75 11.03) | |
| LCH | lch(58.08 16.12 136.81) | color: lch(58.08 16.12 136.81) |
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)
#86867E — rgb(134, 134, 126)
Deuteranopia (Green-blind)
#858480 — rgb(133, 132, 128)
Tritanopia (Blue-blind)
#7F8384 — rgb(127, 131, 132)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(106, 10%, 52%);
text
color: hsl(106, 10%, 52%);
border
border: 2px solid hsl(106, 10%, 52%);
gradient light
background: linear-gradient(to right, hsl(106, 10%, 72%), hsl(106, 10%, 52%));
gradient dark
background: linear-gradient(to right, hsl(106, 10%, 52%), hsl(106, 10%, 32%))
hex
background-color: #7E9178;
tailwind
bg-[hsl(106,10%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(106, 10%, 52%, 0.4);
css variable
--color-primary: hsl(106, 10%, 52%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(106, 10%, 52%)?
HEX: #7E9178 | RGB: rgb(126, 145, 120) | CMYK: 13%, 0%, 17%, 43% | HSV: 106°, 17%, 57%. Copy any format from the conversion table above.
What colors go well with #7E9178?
The complementary color is HSL(286, 10%, 52%). For a triadic harmony, use hues 106°, 226°, and 346°. For analogous combinations, try hues 76° and 136°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(106, 10%, 52%) in CSS?
As HSL: color: hsl(106, 10%, 52%); — As HEX: color: #7E9178; — As RGB: color: rgb(126, 145, 120); — Tailwind CSS: bg-[hsl(106,10%,52%)] — CSS variable: --color-primary: hsl(106, 10%, 52%);