HSL(140, 90%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(140,90%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 90%, 15%) | color: hsl(140, 90%, 15%) | |
| HEX | #04491B | color: #04491B | |
| RGB | rgb(4, 73, 27) | color: rgb(4, 73, 27) | |
| CMYK | cmyk(95%, 0%, 63%, 71%) | — | |
| HSV | hsv(140, 95%, 29%) | — | |
| HWB | hwb(140 1% 71%) | color: hwb(140 1% 71%) | |
| OKLCH | oklch(0.3548 0.0987 148.37) | color: oklch(0.3548 0.0987 148.37) | |
| Lab | lab(26.36 -31.35 21.73) | color: lab(26.36 -31.35 21.73) | |
| LCH | lch(26.36 38.14 145.27) | color: lch(26.36 38.14 145.27) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#222226 — rgb(34, 34, 38)
Deuteranopia (Green-blind)
#1E1929 — rgb(30, 25, 41)
Tritanopia (Blue-blind)
#072F31 — rgb(7, 47, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 90%, 15%);
text
color: hsl(140, 90%, 15%);
border
border: 2px solid hsl(140, 90%, 15%);
gradient light
background: linear-gradient(to right, hsl(140, 90%, 35%), hsl(140, 90%, 15%));
gradient dark
background: linear-gradient(to right, hsl(140, 90%, 15%), hsl(140, 90%, 0%))
hex
background-color: #04491B;
tailwind
bg-[hsl(140,90%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 90%, 15%, 0.4);
css variable
--color-primary: hsl(140, 90%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(140, 90%, 15%)?
HEX: #04491B | RGB: rgb(4, 73, 27) | CMYK: 95%, 0%, 63%, 71% | HSV: 140°, 95%, 29%. Copy any format from the conversion table above.
What colors go well with #04491B?
The complementary color is HSL(320, 90%, 15%). For a triadic harmony, use hues 140°, 260°, and 20°. For analogous combinations, try hues 110° and 170°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(140, 90%, 15%) in CSS?
As HSL: color: hsl(140, 90%, 15%); — As HEX: color: #04491B; — As RGB: color: rgb(4, 73, 27); — Tailwind CSS: bg-[hsl(140,90%,15%)] — CSS variable: --color-primary: hsl(140, 90%, 15%);