HSL(139, 53%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(139,53%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(139, 53%, 31%) | color: hsl(139, 53%, 31%) | |
| HEX | #257940 | color: #257940 | |
| RGB | rgb(37, 121, 64) | color: rgb(37, 121, 64) | |
| CMYK | cmyk(69%, 0%, 47%, 53%) | — | |
| HSV | hsv(139, 69%, 47%) | — | |
| HWB | hwb(139 15% 53%) | color: hwb(139 15% 53%) | |
| OKLCH | oklch(0.5115 0.1194 150.32) | color: oklch(0.5115 0.1194 150.32) | |
| Lab | lab(44.85 -38.49 24.09) | color: lab(44.85 -38.49 24.09) | |
| LCH | lch(44.85 45.41 147.96) | color: lch(44.85 45.41 147.96) |
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)
#494A4E — rgb(73, 74, 78)
Deuteranopia (Green-blind)
#453E51 — rgb(69, 62, 81)
Tritanopia (Blue-blind)
#29595B — rgb(41, 89, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(139, 53%, 31%);
text
color: hsl(139, 53%, 31%);
border
border: 2px solid hsl(139, 53%, 31%);
gradient light
background: linear-gradient(to right, hsl(139, 53%, 51%), hsl(139, 53%, 31%));
gradient dark
background: linear-gradient(to right, hsl(139, 53%, 31%), hsl(139, 53%, 11%))
hex
background-color: #257940;
tailwind
bg-[hsl(139,53%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(139, 53%, 31%, 0.4);
css variable
--color-primary: hsl(139, 53%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(139, 53%, 31%)?
HEX: #257940 | RGB: rgb(37, 121, 64) | CMYK: 69%, 0%, 47%, 53% | HSV: 139°, 69%, 47%. Copy any format from the conversion table above.
What colors go well with #257940?
The complementary color is HSL(319, 53%, 31%). For a triadic harmony, use hues 139°, 259°, and 19°. For analogous combinations, try hues 109° and 169°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(139, 53%, 31%) in CSS?
As HSL: color: hsl(139, 53%, 31%); — As HEX: color: #257940; — As RGB: color: rgb(37, 121, 64); — Tailwind CSS: bg-[hsl(139,53%,31%)] — CSS variable: --color-primary: hsl(139, 53%, 31%);