HSL(123, 27%, 16%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(123,27%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(123, 27%, 16%) | color: hsl(123, 27%, 16%) | |
| HEX | #1E341F | color: #1E341F | |
| RGB | rgb(30, 52, 31) | color: rgb(30, 52, 31) | |
| CMYK | cmyk(42%, 0%, 40%, 80%) | — | |
| HSV | hsv(123, 42%, 20%) | — | |
| HWB | hwb(123 12% 80%) | color: hwb(123 12% 80%) | |
| OKLCH | oklch(0.2998 0.0467 145.33) | color: oklch(0.2998 0.0467 145.33) | |
| Lab | lab(19.35 -14.1 10.61) | color: lab(19.35 -14.1 10.61) | |
| LCH | lch(19.35 17.65 143.04) | color: lch(19.35 17.65 143.04) |
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)
#282824 — rgb(40, 40, 36)
Deuteranopia (Green-blind)
#262525 — rgb(38, 37, 37)
Tritanopia (Blue-blind)
#1F2829 — rgb(31, 40, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(123, 27%, 16%);
text
color: hsl(123, 27%, 16%);
border
border: 2px solid hsl(123, 27%, 16%);
gradient light
background: linear-gradient(to right, hsl(123, 27%, 36%), hsl(123, 27%, 16%));
gradient dark
background: linear-gradient(to right, hsl(123, 27%, 16%), hsl(123, 27%, 0%))
hex
background-color: #1E341F;
tailwind
bg-[hsl(123,27%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(123, 27%, 16%, 0.4);
css variable
--color-primary: hsl(123, 27%, 16%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(123, 27%, 16%)?
HEX: #1E341F | RGB: rgb(30, 52, 31) | CMYK: 42%, 0%, 40%, 80% | HSV: 123°, 42%, 20%. Copy any format from the conversion table above.
What colors go well with #1E341F?
The complementary color is HSL(303, 27%, 16%). 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, 27%, 16%) in CSS?
As HSL: color: hsl(123, 27%, 16%); — As HEX: color: #1E341F; — As RGB: color: rgb(30, 52, 31); — Tailwind CSS: bg-[hsl(123,27%,16%)] — CSS variable: --color-primary: hsl(123, 27%, 16%);