HSL(123, 40%, 60%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(123,40%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(123, 40%, 60%) | color: hsl(123, 40%, 60%) | |
| HEX | #70C274 | color: #70C274 | |
| RGB | rgb(112, 194, 116) | color: rgb(112, 194, 116) | |
| CMYK | cmyk(42%, 0%, 40%, 24%) | — | |
| HSV | hsv(123, 42%, 76%) | — | |
| HWB | hwb(123 44% 24%) | color: hwb(123 44% 24%) | |
| OKLCH | oklch(0.7422 0.1365 145.08) | color: oklch(0.7422 0.1365 145.08) | |
| Lab | lab(71.75 -41.14 31.6) | color: lab(71.75 -41.14 31.6) | |
| LCH | lch(71.75 51.88 142.47) | color: lch(71.75 51.88 142.47) |
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)
#949487 — rgb(148, 148, 135)
Deuteranopia (Green-blind)
#8F898B — rgb(143, 137, 139)
Tritanopia (Blue-blind)
#749699 — rgb(116, 150, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(123, 40%, 60%);
text
color: hsl(123, 40%, 60%);
border
border: 2px solid hsl(123, 40%, 60%);
gradient light
background: linear-gradient(to right, hsl(123, 40%, 80%), hsl(123, 40%, 60%));
gradient dark
background: linear-gradient(to right, hsl(123, 40%, 60%), hsl(123, 40%, 40%))
hex
background-color: #70C274;
tailwind
bg-[hsl(123,40%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(123, 40%, 60%, 0.4);
css variable
--color-primary: hsl(123, 40%, 60%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(123, 40%, 60%)?
HEX: #70C274 | RGB: rgb(112, 194, 116) | CMYK: 42%, 0%, 40%, 24% | HSV: 123°, 42%, 76%. Copy any format from the conversion table above.
What colors go well with #70C274?
The complementary color is HSL(303, 40%, 60%). For a triadic harmony, use hues 123°, 243°, and 3°. For analogous combinations, try hues 93° and 153°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(123, 40%, 60%) in CSS?
As HSL: color: hsl(123, 40%, 60%); — As HEX: color: #70C274; — As RGB: color: rgb(112, 194, 116); — Tailwind CSS: bg-[hsl(123,40%,60%)] — CSS variable: --color-primary: hsl(123, 40%, 60%);