HSL(137, 51%, 22%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(137,51%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(137, 51%, 22%) | color: hsl(137, 51%, 22%) | |
| HEX | #1B552C | color: #1B552C | |
| RGB | rgb(27, 85, 44) | color: rgb(27, 85, 44) | |
| CMYK | cmyk(68%, 0%, 48%, 67%) | — | |
| HSV | hsv(138, 68%, 33%) | — | |
| HWB | hwb(138 11% 67%) | color: hwb(138 11% 67%) | |
| OKLCH | oklch(0.4005 0.0907 149.9) | color: oklch(0.4005 0.0907 149.9) | |
| Lab | lab(31.6 -29.06 18.5) | color: lab(31.6 -29.06 18.5) | |
| LCH | lch(31.6 34.45 147.52) | color: lch(31.6 34.45 147.52) |
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)
#343536 — rgb(52, 53, 54)
Deuteranopia (Green-blind)
#312C38 — rgb(49, 44, 56)
Tritanopia (Blue-blind)
#1E3E3F — rgb(30, 62, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(137, 51%, 22%);
text
color: hsl(137, 51%, 22%);
border
border: 2px solid hsl(137, 51%, 22%);
gradient light
background: linear-gradient(to right, hsl(137, 51%, 42%), hsl(137, 51%, 22%));
gradient dark
background: linear-gradient(to right, hsl(137, 51%, 22%), hsl(137, 51%, 2%))
hex
background-color: #1B552C;
tailwind
bg-[hsl(137,51%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(137, 51%, 22%, 0.4);
css variable
--color-primary: hsl(137, 51%, 22%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(137, 51%, 22%)?
HEX: #1B552C | RGB: rgb(27, 85, 44) | CMYK: 68%, 0%, 48%, 67% | HSV: 138°, 68%, 33%. Copy any format from the conversion table above.
What colors go well with #1B552C?
The complementary color is HSL(317, 51%, 22%). For a triadic harmony, use hues 137°, 257°, and 17°. For analogous combinations, try hues 107° and 167°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(137, 51%, 22%) in CSS?
As HSL: color: hsl(137, 51%, 22%); — As HEX: color: #1B552C; — As RGB: color: rgb(27, 85, 44); — Tailwind CSS: bg-[hsl(137,51%,22%)] — CSS variable: --color-primary: hsl(137, 51%, 22%);