HSL(123, 40%, 37%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(123,40%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(123, 40%, 37%) | color: hsl(123, 40%, 37%) | |
| HEX | #39843C | color: #39843C | |
| RGB | rgb(57, 132, 60) | color: rgb(57, 132, 60) | |
| CMYK | cmyk(57%, 0%, 55%, 48%) | — | |
| HSV | hsv(122, 57%, 52%) | — | |
| HWB | hwb(122 22% 48%) | color: hwb(122 22% 48%) | |
| OKLCH | oklch(0.5483 0.1301 144.25) | color: oklch(0.5483 0.1301 144.25) | |
| Lab | lab(49.13 -38.89 31.7) | color: lab(49.13 -38.89 31.7) | |
| LCH | lch(49.13 50.17 140.82) | color: lch(49.13 50.17 140.82) |
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)
#595A4D — rgb(89, 90, 77)
Deuteranopia (Green-blind)
#555052 — rgb(85, 80, 82)
Tritanopia (Blue-blind)
#3D5B5E — rgb(61, 91, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(123, 40%, 37%);
text
color: hsl(123, 40%, 37%);
border
border: 2px solid hsl(123, 40%, 37%);
gradient light
background: linear-gradient(to right, hsl(123, 40%, 57%), hsl(123, 40%, 37%));
gradient dark
background: linear-gradient(to right, hsl(123, 40%, 37%), hsl(123, 40%, 17%))
hex
background-color: #39843C;
tailwind
bg-[hsl(123,40%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(123, 40%, 37%, 0.4);
css variable
--color-primary: hsl(123, 40%, 37%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(123, 40%, 37%)?
HEX: #39843C | RGB: rgb(57, 132, 60) | CMYK: 57%, 0%, 55%, 48% | HSV: 122°, 57%, 52%. Copy any format from the conversion table above.
What colors go well with #39843C?
The complementary color is HSL(303, 40%, 37%). 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, 40%, 37%) in CSS?
As HSL: color: hsl(123, 40%, 37%); — As HEX: color: #39843C; — As RGB: color: rgb(57, 132, 60); — Tailwind CSS: bg-[hsl(123,40%,37%)] — CSS variable: --color-primary: hsl(123, 40%, 37%);