HSL(145, 90%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(145,90%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(145, 90%, 40%) | color: hsl(145, 90%, 40%) | |
| HEX | #0AC257 | color: #0AC257 | |
| RGB | rgb(10, 194, 87) | color: rgb(10, 194, 87) | |
| CMYK | cmyk(95%, 0%, 55%, 24%) | — | |
| HSV | hsv(145, 95%, 76%) | — | |
| HWB | hwb(145 4% 24%) | color: hwb(145 4% 24%) | |
| OKLCH | oklch(0.7116 0.1976 149.3) | color: oklch(0.7116 0.1976 149.3) | |
| Lab | lab(68.99 -63.43 42.12) | color: lab(68.99 -63.43 42.12) | |
| LCH | lch(68.99 76.14 146.41) | color: lch(68.99 76.14 146.41) |
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)
#5A5B71 — rgb(90, 91, 113)
Deuteranopia (Green-blind)
#4F4177 — rgb(79, 65, 119)
Tritanopia (Blue-blind)
#13858A — rgb(19, 133, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(145, 90%, 40%);
text
color: hsl(145, 90%, 40%);
border
border: 2px solid hsl(145, 90%, 40%);
gradient light
background: linear-gradient(to right, hsl(145, 90%, 60%), hsl(145, 90%, 40%));
gradient dark
background: linear-gradient(to right, hsl(145, 90%, 40%), hsl(145, 90%, 20%))
hex
background-color: #0AC257;
tailwind
bg-[hsl(145,90%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(145, 90%, 40%, 0.4);
css variable
--color-primary: hsl(145, 90%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(145, 90%, 40%)?
HEX: #0AC257 | RGB: rgb(10, 194, 87) | CMYK: 95%, 0%, 55%, 24% | HSV: 145°, 95%, 76%. Copy any format from the conversion table above.
What colors go well with #0AC257?
The complementary color is HSL(325, 90%, 40%). For a triadic harmony, use hues 145°, 265°, and 25°. For analogous combinations, try hues 115° and 175°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(145, 90%, 40%) in CSS?
As HSL: color: hsl(145, 90%, 40%); — As HEX: color: #0AC257; — As RGB: color: rgb(10, 194, 87); — Tailwind CSS: bg-[hsl(145,90%,40%)] — CSS variable: --color-primary: hsl(145, 90%, 40%);