HSL(142, 90%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,90%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 90%, 30%) | color: hsl(142, 90%, 30%) | |
| HEX | #08913A | color: #08913A | |
| RGB | rgb(8, 145, 58) | color: rgb(8, 145, 58) | |
| CMYK | cmyk(94%, 0%, 60%, 43%) | — | |
| HSV | hsv(142, 94%, 57%) | — | |
| HWB | hwb(142 3% 43%) | color: hwb(142 3% 43%) | |
| OKLCH | oklch(0.5735 0.1635 148.05) | color: oklch(0.5735 0.1635 148.05) | |
| Lab | lab(52.52 -51.75 36.51) | color: lab(52.52 -51.75 36.51) | |
| LCH | lch(52.52 63.33 144.8) | color: lch(52.52 63.33 144.8) |
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)
#43454F — rgb(67, 69, 79)
Deuteranopia (Green-blind)
#3B3154 — rgb(59, 49, 84)
Tritanopia (Blue-blind)
#0F6063 — rgb(15, 96, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 90%, 30%);
text
color: hsl(142, 90%, 30%);
border
border: 2px solid hsl(142, 90%, 30%);
gradient light
background: linear-gradient(to right, hsl(142, 90%, 50%), hsl(142, 90%, 30%));
gradient dark
background: linear-gradient(to right, hsl(142, 90%, 30%), hsl(142, 90%, 10%))
hex
background-color: #08913A;
tailwind
bg-[hsl(142,90%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 90%, 30%, 0.4);
css variable
--color-primary: hsl(142, 90%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 90%, 30%)?
HEX: #08913A | RGB: rgb(8, 145, 58) | CMYK: 94%, 0%, 60%, 43% | HSV: 142°, 94%, 57%. Copy any format from the conversion table above.
What colors go well with #08913A?
The complementary color is HSL(322, 90%, 30%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(142, 90%, 30%) in CSS?
As HSL: color: hsl(142, 90%, 30%); — As HEX: color: #08913A; — As RGB: color: rgb(8, 145, 58); — Tailwind CSS: bg-[hsl(142,90%,30%)] — CSS variable: --color-primary: hsl(142, 90%, 30%);