HSL(102, 34%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,34%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 34%, 30%) | color: hsl(102, 34%, 30%) | |
| HEX | #426732 | color: #426732 | |
| RGB | rgb(66, 103, 50) | color: rgb(66, 103, 50) | |
| CMYK | cmyk(36%, 0%, 51%, 60%) | — | |
| HSV | hsv(102, 51%, 40%) | — | |
| HWB | hwb(102 20% 60%) | color: hwb(102 20% 60%) | |
| OKLCH | oklch(0.4721 0.0907 136.97) | color: oklch(0.4721 0.0907 136.97) | |
| Lab | lab(39.73 -24.12 25.66) | color: lab(39.73 -24.12 25.66) | |
| LCH | lch(39.73 35.22 133.23) | color: lch(39.73 35.22 133.23) |
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)
#52523F — rgb(82, 82, 63)
Deuteranopia (Green-blind)
#504D42 — rgb(80, 77, 66)
Tritanopia (Blue-blind)
#44494B — rgb(68, 73, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 34%, 30%);
text
color: hsl(102, 34%, 30%);
border
border: 2px solid hsl(102, 34%, 30%);
gradient light
background: linear-gradient(to right, hsl(102, 34%, 50%), hsl(102, 34%, 30%));
gradient dark
background: linear-gradient(to right, hsl(102, 34%, 30%), hsl(102, 34%, 10%))
hex
background-color: #426732;
tailwind
bg-[hsl(102,34%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 34%, 30%, 0.4);
css variable
--color-primary: hsl(102, 34%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 34%, 30%)?
HEX: #426732 | RGB: rgb(66, 103, 50) | CMYK: 36%, 0%, 51%, 60% | HSV: 102°, 51%, 40%. Copy any format from the conversion table above.
What colors go well with #426732?
The complementary color is HSL(282, 34%, 30%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 34%, 30%) in CSS?
As HSL: color: hsl(102, 34%, 30%); — As HEX: color: #426732; — As RGB: color: rgb(66, 103, 50); — Tailwind CSS: bg-[hsl(102,34%,30%)] — CSS variable: --color-primary: hsl(102, 34%, 30%);