HSL(148, 20%, 57%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(148,20%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(148, 20%, 57%) | color: hsl(148, 20%, 57%) | |
| HEX | #7BA790 | color: #7BA790 | |
| RGB | rgb(123, 167, 144) | color: rgb(123, 167, 144) | |
| CMYK | cmyk(26%, 0%, 14%, 35%) | — | |
| HSV | hsv(149, 26%, 65%) | — | |
| HWB | hwb(149 48% 35%) | color: hwb(149 48% 35%) | |
| OKLCH | oklch(0.6898 0.0584 161.59) | color: oklch(0.6898 0.0584 161.59) | |
| Lab | lab(64.85 -19.74 7.14) | color: lab(64.85 -19.74 7.14) | |
| LCH | lch(64.85 20.99 160.11) | color: lch(64.85 20.99 160.11) |
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)
#8E8E96 — rgb(142, 142, 150)
Deuteranopia (Green-blind)
#8C8897 — rgb(140, 136, 151)
Tritanopia (Blue-blind)
#7D9A9B — rgb(125, 154, 155)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(148, 20%, 57%);
text
color: hsl(148, 20%, 57%);
border
border: 2px solid hsl(148, 20%, 57%);
gradient light
background: linear-gradient(to right, hsl(148, 20%, 77%), hsl(148, 20%, 57%));
gradient dark
background: linear-gradient(to right, hsl(148, 20%, 57%), hsl(148, 20%, 37%))
hex
background-color: #7BA790;
tailwind
bg-[hsl(148,20%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(148, 20%, 57%, 0.4);
css variable
--color-primary: hsl(148, 20%, 57%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(148, 20%, 57%)?
HEX: #7BA790 | RGB: rgb(123, 167, 144) | CMYK: 26%, 0%, 14%, 35% | HSV: 149°, 26%, 65%. Copy any format from the conversion table above.
What colors go well with #7BA790?
The complementary color is HSL(328, 20%, 57%). For a triadic harmony, use hues 148°, 268°, and 28°. For analogous combinations, try hues 118° and 178°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(148, 20%, 57%) in CSS?
As HSL: color: hsl(148, 20%, 57%); — As HEX: color: #7BA790; — As RGB: color: rgb(123, 167, 144); — Tailwind CSS: bg-[hsl(148,20%,57%)] — CSS variable: --color-primary: hsl(148, 20%, 57%);