HSL(135, 20%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(135,20%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(135, 20%, 26%) | color: hsl(135, 20%, 26%) | |
| HEX | #35503C | color: #35503C | |
| RGB | rgb(53, 80, 60) | color: rgb(53, 80, 60) | |
| CMYK | cmyk(34%, 0%, 25%, 69%) | — | |
| HSV | hsv(136, 34%, 31%) | — | |
| HWB | hwb(136 20% 69%) | color: hwb(136 20% 69%) | |
| OKLCH | oklch(0.4032 0.0469 151.99) | color: oklch(0.4032 0.0469 151.99) | |
| Lab | lab(31.39 -15.06 8.6) | color: lab(31.39 -15.06 8.6) | |
| LCH | lch(31.39 17.34 150.27) | color: lch(31.39 17.34 150.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)
#414141 — rgb(65, 65, 65)
Deuteranopia (Green-blind)
#3F3D42 — rgb(63, 61, 66)
Tritanopia (Blue-blind)
#364546 — rgb(54, 69, 70)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(135, 20%, 26%);
text
color: hsl(135, 20%, 26%);
border
border: 2px solid hsl(135, 20%, 26%);
gradient light
background: linear-gradient(to right, hsl(135, 20%, 46%), hsl(135, 20%, 26%));
gradient dark
background: linear-gradient(to right, hsl(135, 20%, 26%), hsl(135, 20%, 6%))
hex
background-color: #35503C;
tailwind
bg-[hsl(135,20%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(135, 20%, 26%, 0.4);
css variable
--color-primary: hsl(135, 20%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(135, 20%, 26%)?
HEX: #35503C | RGB: rgb(53, 80, 60) | CMYK: 34%, 0%, 25%, 69% | HSV: 136°, 34%, 31%. Copy any format from the conversion table above.
What colors go well with #35503C?
The complementary color is HSL(315, 20%, 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, 20%, 26%) in CSS?
As HSL: color: hsl(135, 20%, 26%); — As HEX: color: #35503C; — As RGB: color: rgb(53, 80, 60); — Tailwind CSS: bg-[hsl(135,20%,26%)] — CSS variable: --color-primary: hsl(135, 20%, 26%);