HSL(145, 45%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(145,45%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(145, 45%, 28%) | color: hsl(145, 45%, 28%) | |
| HEX | #276842 | color: #276842 | |
| RGB | rgb(39, 104, 66) | color: rgb(39, 104, 66) | |
| CMYK | cmyk(63%, 0%, 37%, 59%) | — | |
| HSV | hsv(145, 63%, 41%) | — | |
| HWB | hwb(145 15% 59%) | color: hwb(145 15% 59%) | |
| OKLCH | oklch(0.4646 0.0909 154.77) | color: oklch(0.4646 0.0909 154.77) | |
| Lab | lab(39.11 -30.29 15.41) | color: lab(39.11 -30.29 15.41) | |
| LCH | lch(39.11 33.98 153.04) | color: lch(39.11 33.98 153.04) |
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)
#43444B — rgb(67, 68, 75)
Deuteranopia (Green-blind)
#3F3B4D — rgb(63, 59, 77)
Tritanopia (Blue-blind)
#2A5254 — rgb(42, 82, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(145, 45%, 28%);
text
color: hsl(145, 45%, 28%);
border
border: 2px solid hsl(145, 45%, 28%);
gradient light
background: linear-gradient(to right, hsl(145, 45%, 48%), hsl(145, 45%, 28%));
gradient dark
background: linear-gradient(to right, hsl(145, 45%, 28%), hsl(145, 45%, 8%))
hex
background-color: #276842;
tailwind
bg-[hsl(145,45%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(145, 45%, 28%, 0.4);
css variable
--color-primary: hsl(145, 45%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(145, 45%, 28%)?
HEX: #276842 | RGB: rgb(39, 104, 66) | CMYK: 63%, 0%, 37%, 59% | HSV: 145°, 63%, 41%. Copy any format from the conversion table above.
What colors go well with #276842?
The complementary color is HSL(325, 45%, 28%). 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, 45%, 28%) in CSS?
As HSL: color: hsl(145, 45%, 28%); — As HEX: color: #276842; — As RGB: color: rgb(39, 104, 66); — Tailwind CSS: bg-[hsl(145,45%,28%)] — CSS variable: --color-primary: hsl(145, 45%, 28%);