HSL(131, 25%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(131,25%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(131, 25%, 18%) | color: hsl(131, 25%, 18%) | |
| HEX | #223927 | color: #223927 | |
| RGB | rgb(34, 57, 39) | color: rgb(34, 57, 39) | |
| CMYK | cmyk(40%, 0%, 32%, 78%) | — | |
| HSV | hsv(133, 40%, 22%) | — | |
| HWB | hwb(133 13% 78%) | color: hwb(133 13% 78%) | |
| OKLCH | oklch(0.3195 0.0432 150.25) | color: oklch(0.3195 0.0432 150.25) | |
| Lab | lab(21.63 -13.7 8.44) | color: lab(21.63 -13.7 8.44) | |
| LCH | lch(21.63 16.09 148.36) | color: lch(21.63 16.09 148.36) |
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)
#2C2C2B — rgb(44, 44, 43)
Deuteranopia (Green-blind)
#2B292C — rgb(43, 41, 44)
Tritanopia (Blue-blind)
#232F30 — rgb(35, 47, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(131, 25%, 18%);
text
color: hsl(131, 25%, 18%);
border
border: 2px solid hsl(131, 25%, 18%);
gradient light
background: linear-gradient(to right, hsl(131, 25%, 38%), hsl(131, 25%, 18%));
gradient dark
background: linear-gradient(to right, hsl(131, 25%, 18%), hsl(131, 25%, 0%))
hex
background-color: #223927;
tailwind
bg-[hsl(131,25%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(131, 25%, 18%, 0.4);
css variable
--color-primary: hsl(131, 25%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(131, 25%, 18%)?
HEX: #223927 | RGB: rgb(34, 57, 39) | CMYK: 40%, 0%, 32%, 78% | HSV: 133°, 40%, 22%. Copy any format from the conversion table above.
What colors go well with #223927?
The complementary color is HSL(311, 25%, 18%). For a triadic harmony, use hues 131°, 251°, and 11°. For analogous combinations, try hues 101° and 161°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(131, 25%, 18%) in CSS?
As HSL: color: hsl(131, 25%, 18%); — As HEX: color: #223927; — As RGB: color: rgb(34, 57, 39); — Tailwind CSS: bg-[hsl(131,25%,18%)] — CSS variable: --color-primary: hsl(131, 25%, 18%);