HSL(136, 20%, 24%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(136,20%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(136, 20%, 24%) | color: hsl(136, 20%, 24%) | |
| HEX | #314937 | color: #314937 | |
| RGB | rgb(49, 73, 55) | color: rgb(49, 73, 55) | |
| CMYK | cmyk(33%, 0%, 25%, 71%) | — | |
| HSV | hsv(135, 33%, 29%) | — | |
| HWB | hwb(135 19% 71%) | color: hwb(135 19% 71%) | |
| OKLCH | oklch(0.3798 0.0427 151.77) | color: oklch(0.3798 0.0427 151.77) | |
| Lab | lab(28.63 -13.66 7.88) | color: lab(28.63 -13.66 7.88) | |
| LCH | lch(28.63 15.77 150.02) | color: lch(28.63 15.77 150.02) |
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)
#3B3C3B — rgb(59, 60, 59)
Deuteranopia (Green-blind)
#3A383C — rgb(58, 56, 60)
Tritanopia (Blue-blind)
#323F40 — rgb(50, 63, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(136, 20%, 24%);
text
color: hsl(136, 20%, 24%);
border
border: 2px solid hsl(136, 20%, 24%);
gradient light
background: linear-gradient(to right, hsl(136, 20%, 44%), hsl(136, 20%, 24%));
gradient dark
background: linear-gradient(to right, hsl(136, 20%, 24%), hsl(136, 20%, 4%))
hex
background-color: #314937;
tailwind
bg-[hsl(136,20%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(136, 20%, 24%, 0.4);
css variable
--color-primary: hsl(136, 20%, 24%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(136, 20%, 24%)?
HEX: #314937 | RGB: rgb(49, 73, 55) | CMYK: 33%, 0%, 25%, 71% | HSV: 135°, 33%, 29%. Copy any format from the conversion table above.
What colors go well with #314937?
The complementary color is HSL(316, 20%, 24%). For a triadic harmony, use hues 136°, 256°, and 16°. For analogous combinations, try hues 106° and 166°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(136, 20%, 24%) in CSS?
As HSL: color: hsl(136, 20%, 24%); — As HEX: color: #314937; — As RGB: color: rgb(49, 73, 55); — Tailwind CSS: bg-[hsl(136,20%,24%)] — CSS variable: --color-primary: hsl(136, 20%, 24%);