HSL(78, 40%, 48%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(78,40%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(78, 40%, 48%) | color: hsl(78, 40%, 48%) | |
| HEX | #8EAB49 | color: #8EAB49 | |
| RGB | rgb(142, 171, 73) | color: rgb(142, 171, 73) | |
| CMYK | cmyk(17%, 0%, 57%, 33%) | — | |
| HSV | hsv(78, 57%, 67%) | — | |
| HWB | hwb(78 29% 33%) | color: hwb(78 29% 33%) | |
| OKLCH | oklch(0.6984 0.1297 123.54) | color: oklch(0.6984 0.1297 123.54) | |
| Lab | lab(66.03 -25.2 46.32) | color: lab(66.03 -25.2 46.32) | |
| LCH | lch(66.03 52.73 118.55) | color: lch(66.03 52.73 118.55) |
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)
#9B9B61 — rgb(155, 155, 97)
Deuteranopia (Green-blind)
#999766 — rgb(153, 151, 102)
Tritanopia (Blue-blind)
#8F7378 — rgb(143, 115, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(78, 40%, 48%);
text
color: hsl(78, 40%, 48%);
border
border: 2px solid hsl(78, 40%, 48%);
gradient light
background: linear-gradient(to right, hsl(78, 40%, 68%), hsl(78, 40%, 48%));
gradient dark
background: linear-gradient(to right, hsl(78, 40%, 48%), hsl(78, 40%, 28%))
hex
background-color: #8EAB49;
tailwind
bg-[hsl(78,40%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(78, 40%, 48%, 0.4);
css variable
--color-primary: hsl(78, 40%, 48%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(78, 40%, 48%)?
HEX: #8EAB49 | RGB: rgb(142, 171, 73) | CMYK: 17%, 0%, 57%, 33% | HSV: 78°, 57%, 67%. Copy any format from the conversion table above.
What colors go well with #8EAB49?
The complementary color is HSL(258, 40%, 48%). For a triadic harmony, use hues 78°, 198°, and 318°. For analogous combinations, try hues 48° and 108°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(78, 40%, 48%) in CSS?
As HSL: color: hsl(78, 40%, 48%); — As HEX: color: #8EAB49; — As RGB: color: rgb(142, 171, 73); — Tailwind CSS: bg-[hsl(78,40%,48%)] — CSS variable: --color-primary: hsl(78, 40%, 48%);