HSL(126, 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(126,10%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 10%, 52%) | color: hsl(126, 10%, 52%) | |
| HEX | #78917B | color: #78917B | |
| RGB | rgb(120, 145, 123) | color: rgb(120, 145, 123) | |
| CMYK | cmyk(17%, 0%, 15%, 43%) | — | |
| HSV | hsv(127, 17%, 57%) | — | |
| HWB | hwb(127 47% 43%) | color: hwb(127 47% 43%) | |
| OKLCH | oklch(0.6307 0.0433 148.39) | color: oklch(0.6307 0.0433 148.39) | |
| Lab | lab(57.73 -13.39 8.77) | color: lab(57.73 -13.39 8.77) | |
| LCH | lch(57.73 16.01 146.78) | color: lch(57.73 16.01 146.78) |
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)
#838380 — rgb(131, 131, 128)
Deuteranopia (Green-blind)
#818082 — rgb(129, 128, 130)
Tritanopia (Blue-blind)
#798585 — rgb(121, 133, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 10%, 52%);
text
color: hsl(126, 10%, 52%);
border
border: 2px solid hsl(126, 10%, 52%);
gradient light
background: linear-gradient(to right, hsl(126, 10%, 72%), hsl(126, 10%, 52%));
gradient dark
background: linear-gradient(to right, hsl(126, 10%, 52%), hsl(126, 10%, 32%))
hex
background-color: #78917B;
tailwind
bg-[hsl(126,10%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 10%, 52%, 0.4);
css variable
--color-primary: hsl(126, 10%, 52%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(126, 10%, 52%)?
HEX: #78917B | RGB: rgb(120, 145, 123) | CMYK: 17%, 0%, 15%, 43% | HSV: 127°, 17%, 57%. Copy any format from the conversion table above.
What colors go well with #78917B?
The complementary color is HSL(306, 10%, 52%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(126, 10%, 52%) in CSS?
As HSL: color: hsl(126, 10%, 52%); — As HEX: color: #78917B; — As RGB: color: rgb(120, 145, 123); — Tailwind CSS: bg-[hsl(126,10%,52%)] — CSS variable: --color-primary: hsl(126, 10%, 52%);