HSL(118, 38%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(118,38%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(118, 38%, 28%) | color: hsl(118, 38%, 28%) | |
| HEX | #2E632C | color: #2E632C | |
| RGB | rgb(46, 99, 44) | color: rgb(46, 99, 44) | |
| CMYK | cmyk(54%, 0%, 56%, 61%) | — | |
| HSV | hsv(118, 56%, 39%) | — | |
| HWB | hwb(118 17% 61%) | color: hwb(118 17% 61%) | |
| OKLCH | oklch(0.4491 0.1025 142.97) | color: oklch(0.4491 0.1025 142.97) | |
| Lab | lab(37.27 -30.06 25.73) | color: lab(37.27 -30.06 25.73) | |
| LCH | lch(37.27 39.57 139.44) | color: lch(37.27 39.57 139.44) |
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)
#454539 — rgb(69, 69, 57)
Deuteranopia (Green-blind)
#423E3D — rgb(66, 62, 61)
Tritanopia (Blue-blind)
#314446 — rgb(49, 68, 70)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(118, 38%, 28%);
text
color: hsl(118, 38%, 28%);
border
border: 2px solid hsl(118, 38%, 28%);
gradient light
background: linear-gradient(to right, hsl(118, 38%, 48%), hsl(118, 38%, 28%));
gradient dark
background: linear-gradient(to right, hsl(118, 38%, 28%), hsl(118, 38%, 8%))
hex
background-color: #2E632C;
tailwind
bg-[hsl(118,38%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(118, 38%, 28%, 0.4);
css variable
--color-primary: hsl(118, 38%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(118, 38%, 28%)?
HEX: #2E632C | RGB: rgb(46, 99, 44) | CMYK: 54%, 0%, 56%, 61% | HSV: 118°, 56%, 39%. Copy any format from the conversion table above.
What colors go well with #2E632C?
The complementary color is HSL(298, 38%, 28%). For a triadic harmony, use hues 118°, 238°, and 358°. For analogous combinations, try hues 88° and 148°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(118, 38%, 28%) in CSS?
As HSL: color: hsl(118, 38%, 28%); — As HEX: color: #2E632C; — As RGB: color: rgb(46, 99, 44); — Tailwind CSS: bg-[hsl(118,38%,28%)] — CSS variable: --color-primary: hsl(118, 38%, 28%);