HSL(123, 30%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(123,30%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(123, 30%, 30%) | color: hsl(123, 30%, 30%) | |
| HEX | #366338 | color: #366338 | |
| RGB | rgb(54, 99, 56) | color: rgb(54, 99, 56) | |
| CMYK | cmyk(45%, 0%, 43%, 61%) | — | |
| HSV | hsv(123, 45%, 39%) | — | |
| HWB | hwb(123 21% 61%) | color: hwb(123 21% 61%) | |
| OKLCH | oklch(0.4552 0.0848 144.96) | color: oklch(0.4552 0.0848 144.96) | |
| Lab | lab(37.83 -25.51 19.71) | color: lab(37.83 -25.51 19.71) | |
| LCH | lch(37.83 32.24 142.31) | color: lch(37.83 32.24 142.31) |
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)
#494A42 — rgb(73, 74, 66)
Deuteranopia (Green-blind)
#474445 — rgb(71, 68, 69)
Tritanopia (Blue-blind)
#384B4C — rgb(56, 75, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(123, 30%, 30%);
text
color: hsl(123, 30%, 30%);
border
border: 2px solid hsl(123, 30%, 30%);
gradient light
background: linear-gradient(to right, hsl(123, 30%, 50%), hsl(123, 30%, 30%));
gradient dark
background: linear-gradient(to right, hsl(123, 30%, 30%), hsl(123, 30%, 10%))
hex
background-color: #366338;
tailwind
bg-[hsl(123,30%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(123, 30%, 30%, 0.4);
css variable
--color-primary: hsl(123, 30%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(123, 30%, 30%)?
HEX: #366338 | RGB: rgb(54, 99, 56) | CMYK: 45%, 0%, 43%, 61% | HSV: 123°, 45%, 39%. Copy any format from the conversion table above.
What colors go well with #366338?
The complementary color is HSL(303, 30%, 30%). 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, 30%, 30%) in CSS?
As HSL: color: hsl(123, 30%, 30%); — As HEX: color: #366338; — As RGB: color: rgb(54, 99, 56); — Tailwind CSS: bg-[hsl(123,30%,30%)] — CSS variable: --color-primary: hsl(123, 30%, 30%);