HSL(135, 45%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(135,45%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(135, 45%, 28%) | color: hsl(135, 45%, 28%) | |
| HEX | #276837 | color: #276837 | |
| RGB | rgb(39, 104, 55) | color: rgb(39, 104, 55) | |
| CMYK | cmyk(63%, 0%, 47%, 59%) | — | |
| HSV | hsv(135, 63%, 41%) | — | |
| HWB | hwb(135 15% 59%) | color: hwb(135 15% 59%) | |
| OKLCH | oklch(0.4623 0.1025 148.9) | color: oklch(0.4623 0.1025 148.9) | |
| Lab | lab(38.91 -32.47 21.56) | color: lab(38.91 -32.47 21.56) | |
| LCH | lch(38.91 38.98 146.42) | color: lch(38.91 38.98 146.42) |
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)
#434443 — rgb(67, 68, 67)
Deuteranopia (Green-blind)
#3F3B46 — rgb(63, 59, 70)
Tritanopia (Blue-blind)
#2A4C4E — rgb(42, 76, 78)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(135, 45%, 28%);
text
color: hsl(135, 45%, 28%);
border
border: 2px solid hsl(135, 45%, 28%);
gradient light
background: linear-gradient(to right, hsl(135, 45%, 48%), hsl(135, 45%, 28%));
gradient dark
background: linear-gradient(to right, hsl(135, 45%, 28%), hsl(135, 45%, 8%))
hex
background-color: #276837;
tailwind
bg-[hsl(135,45%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(135, 45%, 28%, 0.4);
css variable
--color-primary: hsl(135, 45%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(135, 45%, 28%)?
HEX: #276837 | RGB: rgb(39, 104, 55) | CMYK: 63%, 0%, 47%, 59% | HSV: 135°, 63%, 41%. Copy any format from the conversion table above.
What colors go well with #276837?
The complementary color is HSL(315, 45%, 28%). For a triadic harmony, use hues 135°, 255°, and 15°. For analogous combinations, try hues 105° and 165°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(135, 45%, 28%) in CSS?
As HSL: color: hsl(135, 45%, 28%); — As HEX: color: #276837; — As RGB: color: rgb(39, 104, 55); — Tailwind CSS: bg-[hsl(135,45%,28%)] — CSS variable: --color-primary: hsl(135, 45%, 28%);