HSL(87, 35%, 48%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,35%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 35%, 48%) | color: hsl(87, 35%, 48%) | |
| HEX | #7FA550 | color: #7FA550 | |
| RGB | rgb(127, 165, 80) | color: rgb(127, 165, 80) | |
| CMYK | cmyk(23%, 0%, 52%, 35%) | — | |
| HSV | hsv(87, 52%, 65%) | — | |
| HWB | hwb(87 31% 35%) | color: hwb(87 31% 35%) | |
| OKLCH | oklch(0.6745 0.1214 129.1) | color: oklch(0.6745 0.1214 129.1) | |
| Lab | lab(63.34 -27.49 39.55) | color: lab(63.34 -27.49 39.55) | |
| LCH | lch(63.34 48.17 124.8) | color: lch(63.34 48.17 124.8) |
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)
#8F9065 — rgb(143, 144, 101)
Deuteranopia (Green-blind)
#8D8A6A — rgb(141, 138, 106)
Tritanopia (Blue-blind)
#817578 — rgb(129, 117, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 35%, 48%);
text
color: hsl(87, 35%, 48%);
border
border: 2px solid hsl(87, 35%, 48%);
gradient light
background: linear-gradient(to right, hsl(87, 35%, 68%), hsl(87, 35%, 48%));
gradient dark
background: linear-gradient(to right, hsl(87, 35%, 48%), hsl(87, 35%, 28%))
hex
background-color: #7FA550;
tailwind
bg-[hsl(87,35%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 35%, 48%, 0.4);
css variable
--color-primary: hsl(87, 35%, 48%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 35%, 48%)?
HEX: #7FA550 | RGB: rgb(127, 165, 80) | CMYK: 23%, 0%, 52%, 35% | HSV: 87°, 52%, 65%. Copy any format from the conversion table above.
What colors go well with #7FA550?
The complementary color is HSL(267, 35%, 48%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 35%, 48%) in CSS?
As HSL: color: hsl(87, 35%, 48%); — As HEX: color: #7FA550; — As RGB: color: rgb(127, 165, 80); — Tailwind CSS: bg-[hsl(87,35%,48%)] — CSS variable: --color-primary: hsl(87, 35%, 48%);