HSL(142, 69%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,69%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 69%, 31%) | color: hsl(142, 69%, 31%) | |
| HEX | #198641 | color: #198641 | |
| RGB | rgb(25, 134, 65) | color: rgb(25, 134, 65) | |
| CMYK | cmyk(81%, 0%, 51%, 47%) | — | |
| HSV | hsv(142, 81%, 53%) | — | |
| HWB | hwb(142 10% 47%) | color: hwb(142 10% 47%) | |
| OKLCH | oklch(0.5456 0.1403 150.12) | color: oklch(0.5456 0.1403 150.12) | |
| Lab | lab(49.05 -45.31 28.8) | color: lab(49.05 -45.31 28.8) | |
| LCH | lch(49.05 53.69 147.56) | color: lch(49.05 53.69 147.56) |
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)
#484952 — rgb(72, 73, 82)
Deuteranopia (Green-blind)
#423A56 — rgb(66, 58, 86)
Tritanopia (Blue-blind)
#1E5F62 — rgb(30, 95, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 69%, 31%);
text
color: hsl(142, 69%, 31%);
border
border: 2px solid hsl(142, 69%, 31%);
gradient light
background: linear-gradient(to right, hsl(142, 69%, 51%), hsl(142, 69%, 31%));
gradient dark
background: linear-gradient(to right, hsl(142, 69%, 31%), hsl(142, 69%, 11%))
hex
background-color: #198641;
tailwind
bg-[hsl(142,69%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 69%, 31%, 0.4);
css variable
--color-primary: hsl(142, 69%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 69%, 31%)?
HEX: #198641 | RGB: rgb(25, 134, 65) | CMYK: 81%, 0%, 51%, 47% | HSV: 142°, 81%, 53%. Copy any format from the conversion table above.
What colors go well with #198641?
The complementary color is HSL(322, 69%, 31%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(142, 69%, 31%) in CSS?
As HSL: color: hsl(142, 69%, 31%); — As HEX: color: #198641; — As RGB: color: rgb(25, 134, 65); — Tailwind CSS: bg-[hsl(142,69%,31%)] — CSS variable: --color-primary: hsl(142, 69%, 31%);