HSL(138, 49%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(138,49%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(138, 49%, 28%) | color: hsl(138, 49%, 28%) | |
| HEX | #246A39 | color: #246A39 | |
| RGB | rgb(36, 106, 57) | color: rgb(36, 106, 57) | |
| CMYK | cmyk(66%, 0%, 46%, 58%) | — | |
| HSV | hsv(138, 66%, 42%) | — | |
| HWB | hwb(138 14% 58%) | color: hwb(138 14% 58%) | |
| OKLCH | oklch(0.4674 0.1049 150.14) | color: oklch(0.4674 0.1049 150.14) | |
| Lab | lab(39.54 -33.69 21.21) | color: lab(39.54 -33.69 21.21) | |
| LCH | lch(39.54 39.81 147.81) | color: lch(39.54 39.81 147.81) |
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)
#424345 — rgb(66, 67, 69)
Deuteranopia (Green-blind)
#3E3948 — rgb(62, 57, 72)
Tritanopia (Blue-blind)
#284E50 — rgb(40, 78, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(138, 49%, 28%);
text
color: hsl(138, 49%, 28%);
border
border: 2px solid hsl(138, 49%, 28%);
gradient light
background: linear-gradient(to right, hsl(138, 49%, 48%), hsl(138, 49%, 28%));
gradient dark
background: linear-gradient(to right, hsl(138, 49%, 28%), hsl(138, 49%, 8%))
hex
background-color: #246A39;
tailwind
bg-[hsl(138,49%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(138, 49%, 28%, 0.4);
css variable
--color-primary: hsl(138, 49%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(138, 49%, 28%)?
HEX: #246A39 | RGB: rgb(36, 106, 57) | CMYK: 66%, 0%, 46%, 58% | HSV: 138°, 66%, 42%. Copy any format from the conversion table above.
What colors go well with #246A39?
The complementary color is HSL(318, 49%, 28%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(138, 49%, 28%) in CSS?
As HSL: color: hsl(138, 49%, 28%); — As HEX: color: #246A39; — As RGB: color: rgb(36, 106, 57); — Tailwind CSS: bg-[hsl(138,49%,28%)] — CSS variable: --color-primary: hsl(138, 49%, 28%);