HSL(122, 50%, 70%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,50%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 50%, 70%) | color: hsl(122, 50%, 70%) | |
| HEX | #8CD98F | color: #8CD98F | |
| RGB | rgb(140, 217, 143) | color: rgb(140, 217, 143) | |
| CMYK | cmyk(35%, 0%, 34%, 15%) | — | |
| HSV | hsv(122, 35%, 85%) | — | |
| HWB | hwb(122 55% 15%) | color: hwb(122 55% 15%) | |
| OKLCH | oklch(0.8166 0.1278 145.18) | color: oklch(0.8166 0.1278 145.18) | |
| Lab | lab(80.28 -38.5 29.16) | color: lab(80.28 -38.5 29.16) | |
| LCH | lch(80.28 48.3 142.86) | color: lch(80.28 48.3 142.86) |
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)
#ADAEA1 — rgb(173, 174, 161)
Deuteranopia (Green-blind)
#A9A3A5 — rgb(169, 163, 165)
Tritanopia (Blue-blind)
#90AFB2 — rgb(144, 175, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 50%, 70%);
text
color: hsl(122, 50%, 70%);
border
border: 2px solid hsl(122, 50%, 70%);
gradient light
background: linear-gradient(to right, hsl(122, 50%, 90%), hsl(122, 50%, 70%));
gradient dark
background: linear-gradient(to right, hsl(122, 50%, 70%), hsl(122, 50%, 50%))
hex
background-color: #8CD98F;
tailwind
bg-[hsl(122,50%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 50%, 70%, 0.4);
css variable
--color-primary: hsl(122, 50%, 70%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 50%, 70%)?
HEX: #8CD98F | RGB: rgb(140, 217, 143) | CMYK: 35%, 0%, 34%, 15% | HSV: 122°, 35%, 85%. Copy any format from the conversion table above.
What colors go well with #8CD98F?
The complementary color is HSL(302, 50%, 70%). For a triadic harmony, use hues 122°, 242°, and 2°. For analogous combinations, try hues 92° and 152°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(122, 50%, 70%) in CSS?
As HSL: color: hsl(122, 50%, 70%); — As HEX: color: #8CD98F; — As RGB: color: rgb(140, 217, 143); — Tailwind CSS: bg-[hsl(122,50%,70%)] — CSS variable: --color-primary: hsl(122, 50%, 70%);