HSL(106, 26%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(106,26%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(106, 26%, 23%) | color: hsl(106, 26%, 23%) | |
| HEX | #334A2B | color: #334A2B | |
| RGB | rgb(51, 74, 43) | color: rgb(51, 74, 43) | |
| CMYK | cmyk(31%, 0%, 42%, 71%) | — | |
| HSV | hsv(105, 42%, 29%) | — | |
| HWB | hwb(105 17% 71%) | color: hwb(105 17% 71%) | |
| OKLCH | oklch(0.381 0.0582 137.91) | color: oklch(0.381 0.0582 137.91) | |
| Lab | lab(28.84 -15.81 15.74) | color: lab(28.84 -15.81 15.74) | |
| LCH | lch(28.84 22.31 135.13) | color: lch(28.84 22.31 135.13) |
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)
#3D3D33 — rgb(61, 61, 51)
Deuteranopia (Green-blind)
#3C3A34 — rgb(60, 58, 52)
Tritanopia (Blue-blind)
#34383A — rgb(52, 56, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(106, 26%, 23%);
text
color: hsl(106, 26%, 23%);
border
border: 2px solid hsl(106, 26%, 23%);
gradient light
background: linear-gradient(to right, hsl(106, 26%, 43%), hsl(106, 26%, 23%));
gradient dark
background: linear-gradient(to right, hsl(106, 26%, 23%), hsl(106, 26%, 3%))
hex
background-color: #334A2B;
tailwind
bg-[hsl(106,26%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(106, 26%, 23%, 0.4);
css variable
--color-primary: hsl(106, 26%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(106, 26%, 23%)?
HEX: #334A2B | RGB: rgb(51, 74, 43) | CMYK: 31%, 0%, 42%, 71% | HSV: 105°, 42%, 29%. Copy any format from the conversion table above.
What colors go well with #334A2B?
The complementary color is HSL(286, 26%, 23%). For a triadic harmony, use hues 106°, 226°, and 346°. For analogous combinations, try hues 76° and 136°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(106, 26%, 23%) in CSS?
As HSL: color: hsl(106, 26%, 23%); — As HEX: color: #334A2B; — As RGB: color: rgb(51, 74, 43); — Tailwind CSS: bg-[hsl(106,26%,23%)] — CSS variable: --color-primary: hsl(106, 26%, 23%);