HSL(135, 60%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(135,60%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(135, 60%, 26%) | color: hsl(135, 60%, 26%) | |
| HEX | #1B6A2E | color: #1B6A2E | |
| RGB | rgb(27, 106, 46) | color: rgb(27, 106, 46) | |
| CMYK | cmyk(75%, 0%, 57%, 58%) | — | |
| HSV | hsv(134, 75%, 42%) | — | |
| HWB | hwb(134 11% 58%) | color: hwb(134 11% 58%) | |
| OKLCH | oklch(0.4628 0.1197 147.53) | color: oklch(0.4628 0.1197 147.53) | |
| Lab | lab(39.14 -37.48 26.77) | color: lab(39.14 -37.48 26.77) | |
| LCH | lch(39.14 46.06 144.46) | color: lch(39.14 46.06 144.46) |
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)
#3D3E3D — rgb(61, 62, 61)
Deuteranopia (Green-blind)
#393340 — rgb(57, 51, 64)
Tritanopia (Blue-blind)
#1F484B — rgb(31, 72, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(135, 60%, 26%);
text
color: hsl(135, 60%, 26%);
border
border: 2px solid hsl(135, 60%, 26%);
gradient light
background: linear-gradient(to right, hsl(135, 60%, 46%), hsl(135, 60%, 26%));
gradient dark
background: linear-gradient(to right, hsl(135, 60%, 26%), hsl(135, 60%, 6%))
hex
background-color: #1B6A2E;
tailwind
bg-[hsl(135,60%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(135, 60%, 26%, 0.4);
css variable
--color-primary: hsl(135, 60%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(135, 60%, 26%)?
HEX: #1B6A2E | RGB: rgb(27, 106, 46) | CMYK: 75%, 0%, 57%, 58% | HSV: 134°, 75%, 42%. Copy any format from the conversion table above.
What colors go well with #1B6A2E?
The complementary color is HSL(315, 60%, 26%). 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, 60%, 26%) in CSS?
As HSL: color: hsl(135, 60%, 26%); — As HEX: color: #1B6A2E; — As RGB: color: rgb(27, 106, 46); — Tailwind CSS: bg-[hsl(135,60%,26%)] — CSS variable: --color-primary: hsl(135, 60%, 26%);