HSL(120, 40%, 78%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(120,40%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(120, 40%, 78%) | color: hsl(120, 40%, 78%) | |
| HEX | #B0DDB0 | color: #B0DDB0 | |
| RGB | rgb(176, 221, 176) | color: rgb(176, 221, 176) | |
| CMYK | cmyk(20%, 0%, 20%, 13%) | — | |
| HSV | hsv(120, 20%, 87%) | — | |
| HWB | hwb(120 70% 13%) | color: hwb(120 70% 13%) | |
| OKLCH | oklch(0.8538 0.0775 144.86) | color: oklch(0.8538 0.0775 144.86) | |
| Lab | lab(84.01 -23.18 17.39) | color: lab(84.01 -23.18 17.39) | |
| LCH | lch(84.01 28.98 143.12) | color: lch(84.01 28.98 143.12) |
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)
#C3C4BB — rgb(195, 196, 187)
Deuteranopia (Green-blind)
#C1BEBE — rgb(193, 190, 190)
Tritanopia (Blue-blind)
#B2C3C5 — rgb(178, 195, 197)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(120, 40%, 78%);
text
color: hsl(120, 40%, 78%);
border
border: 2px solid hsl(120, 40%, 78%);
gradient light
background: linear-gradient(to right, hsl(120, 40%, 98%), hsl(120, 40%, 78%));
gradient dark
background: linear-gradient(to right, hsl(120, 40%, 78%), hsl(120, 40%, 58%))
hex
background-color: #B0DDB0;
tailwind
bg-[hsl(120,40%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(120, 40%, 78%, 0.4);
css variable
--color-primary: hsl(120, 40%, 78%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(120, 40%, 78%)?
HEX: #B0DDB0 | RGB: rgb(176, 221, 176) | CMYK: 20%, 0%, 20%, 13% | HSV: 120°, 20%, 87%. Copy any format from the conversion table above.
What colors go well with #B0DDB0?
The complementary color is HSL(300, 40%, 78%). For a triadic harmony, use hues 120°, 240°, and 0°. For analogous combinations, try hues 90° and 150°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(120, 40%, 78%) in CSS?
As HSL: color: hsl(120, 40%, 78%); — As HEX: color: #B0DDB0; — As RGB: color: rgb(176, 221, 176); — Tailwind CSS: bg-[hsl(120,40%,78%)] — CSS variable: --color-primary: hsl(120, 40%, 78%);