HSL(115, 52%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(115,52%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(115, 52%, 27%) | color: hsl(115, 52%, 27%) | |
| HEX | #276921 | color: #276921 | |
| RGB | rgb(39, 105, 33) | color: rgb(39, 105, 33) | |
| CMYK | cmyk(63%, 0%, 69%, 59%) | — | |
| HSV | hsv(115, 69%, 41%) | — | |
| HWB | hwb(115 13% 59%) | color: hwb(115 13% 59%) | |
| OKLCH | oklch(0.4619 0.1249 141.95) | color: oklch(0.4619 0.1249 141.95) | |
| Lab | lab(38.97 -36.09 33.27) | color: lab(38.97 -36.09 33.27) | |
| LCH | lch(38.97 49.09 137.33) | color: lch(38.97 49.09 137.33) |
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)
#444432 — rgb(68, 68, 50)
Deuteranopia (Green-blind)
#403B37 — rgb(64, 59, 55)
Tritanopia (Blue-blind)
#2A4043 — rgb(42, 64, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(115, 52%, 27%);
text
color: hsl(115, 52%, 27%);
border
border: 2px solid hsl(115, 52%, 27%);
gradient light
background: linear-gradient(to right, hsl(115, 52%, 47%), hsl(115, 52%, 27%));
gradient dark
background: linear-gradient(to right, hsl(115, 52%, 27%), hsl(115, 52%, 7%))
hex
background-color: #276921;
tailwind
bg-[hsl(115,52%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(115, 52%, 27%, 0.4);
css variable
--color-primary: hsl(115, 52%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(115, 52%, 27%)?
HEX: #276921 | RGB: rgb(39, 105, 33) | CMYK: 63%, 0%, 69%, 59% | HSV: 115°, 69%, 41%. Copy any format from the conversion table above.
What colors go well with #276921?
The complementary color is HSL(295, 52%, 27%). For a triadic harmony, use hues 115°, 235°, and 355°. For analogous combinations, try hues 85° and 145°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(115, 52%, 27%) in CSS?
As HSL: color: hsl(115, 52%, 27%); — As HEX: color: #276921; — As RGB: color: rgb(39, 105, 33); — Tailwind CSS: bg-[hsl(115,52%,27%)] — CSS variable: --color-primary: hsl(115, 52%, 27%);