HSL(123, 47%, 33%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(123,47%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(123, 47%, 33%) | color: hsl(123, 47%, 33%) | |
| HEX | #2D7C31 | color: #2D7C31 | |
| RGB | rgb(45, 124, 49) | color: rgb(45, 124, 49) | |
| CMYK | cmyk(64%, 0%, 60%, 51%) | — | |
| HSV | hsv(123, 64%, 49%) | — | |
| HWB | hwb(123 18% 51%) | color: hwb(123 18% 51%) | |
| OKLCH | oklch(0.5202 0.1346 144.15) | color: oklch(0.5202 0.1346 144.15) | |
| Lab | lab(45.9 -40.24 33.37) | color: lab(45.9 -40.24 33.37) | |
| LCH | lch(45.9 52.28 140.33) | color: lch(45.9 52.28 140.33) |
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)
#4F5043 — rgb(79, 80, 67)
Deuteranopia (Green-blind)
#4B4548 — rgb(75, 69, 72)
Tritanopia (Blue-blind)
#315155 — rgb(49, 81, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(123, 47%, 33%);
text
color: hsl(123, 47%, 33%);
border
border: 2px solid hsl(123, 47%, 33%);
gradient light
background: linear-gradient(to right, hsl(123, 47%, 53%), hsl(123, 47%, 33%));
gradient dark
background: linear-gradient(to right, hsl(123, 47%, 33%), hsl(123, 47%, 13%))
hex
background-color: #2D7C31;
tailwind
bg-[hsl(123,47%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(123, 47%, 33%, 0.4);
css variable
--color-primary: hsl(123, 47%, 33%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(123, 47%, 33%)?
HEX: #2D7C31 | RGB: rgb(45, 124, 49) | CMYK: 64%, 0%, 60%, 51% | HSV: 123°, 64%, 49%. Copy any format from the conversion table above.
What colors go well with #2D7C31?
The complementary color is HSL(303, 47%, 33%). For a triadic harmony, use hues 123°, 243°, and 3°. For analogous combinations, try hues 93° and 153°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(123, 47%, 33%) in CSS?
As HSL: color: hsl(123, 47%, 33%); — As HEX: color: #2D7C31; — As RGB: color: rgb(45, 124, 49); — Tailwind CSS: bg-[hsl(123,47%,33%)] — CSS variable: --color-primary: hsl(123, 47%, 33%);