HSL(66, 30%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(66,30%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(66, 30%, 15%) | color: hsl(66, 30%, 15%) | |
| HEX | #2F321B | color: #2F321B | |
| RGB | rgb(47, 50, 27) | color: rgb(47, 50, 27) | |
| CMYK | cmyk(6%, 0%, 46%, 80%) | — | |
| HSV | hsv(68, 46%, 20%) | — | |
| HWB | hwb(68 11% 80%) | color: hwb(68 11% 80%) | |
| OKLCH | oklch(0.3074 0.0383 114.75) | color: oklch(0.3074 0.0383 114.75) | |
| Lab | lab(19.9 -5.84 14.21) | color: lab(19.9 -5.84 14.21) | |
| LCH | lch(19.9 15.36 112.34) | color: lch(19.9 15.36 112.34) |
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)
#303021 — rgb(48, 48, 33)
Deuteranopia (Green-blind)
#303022 — rgb(48, 48, 34)
Tritanopia (Blue-blind)
#2F2526 — rgb(47, 37, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(66, 30%, 15%);
text
color: hsl(66, 30%, 15%);
border
border: 2px solid hsl(66, 30%, 15%);
gradient light
background: linear-gradient(to right, hsl(66, 30%, 35%), hsl(66, 30%, 15%));
gradient dark
background: linear-gradient(to right, hsl(66, 30%, 15%), hsl(66, 30%, 0%))
hex
background-color: #2F321B;
tailwind
bg-[hsl(66,30%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(66, 30%, 15%, 0.4);
css variable
--color-primary: hsl(66, 30%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(66, 30%, 15%)?
HEX: #2F321B | RGB: rgb(47, 50, 27) | CMYK: 6%, 0%, 46%, 80% | HSV: 68°, 46%, 20%. Copy any format from the conversion table above.
What colors go well with #2F321B?
The complementary color is HSL(246, 30%, 15%). For a triadic harmony, use hues 66°, 186°, and 306°. For analogous combinations, try hues 36° and 96°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(66, 30%, 15%) in CSS?
As HSL: color: hsl(66, 30%, 15%); — As HEX: color: #2F321B; — As RGB: color: rgb(47, 50, 27); — Tailwind CSS: bg-[hsl(66,30%,15%)] — CSS variable: --color-primary: hsl(66, 30%, 15%);