HSL(127, 50%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,50%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 50%, 30%) | color: hsl(127, 50%, 30%) | |
| HEX | #26732F | color: #26732F | |
| RGB | rgb(38, 115, 47) | color: rgb(38, 115, 47) | |
| CMYK | cmyk(67%, 0%, 59%, 55%) | — | |
| HSV | hsv(127, 67%, 45%) | — | |
| HWB | hwb(127 15% 55%) | color: hwb(127 15% 55%) | |
| OKLCH | oklch(0.4921 0.127 145.28) | color: oklch(0.4921 0.127 145.28) | |
| Lab | lab(42.58 -38.58 30.43) | color: lab(42.58 -38.58 30.43) | |
| LCH | lch(42.58 49.14 141.74) | color: lch(42.58 49.14 141.74) |
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)
#47483F — rgb(71, 72, 63)
Deuteranopia (Green-blind)
#433D43 — rgb(67, 61, 67)
Tritanopia (Blue-blind)
#2A4C4F — rgb(42, 76, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 50%, 30%);
text
color: hsl(127, 50%, 30%);
border
border: 2px solid hsl(127, 50%, 30%);
gradient light
background: linear-gradient(to right, hsl(127, 50%, 50%), hsl(127, 50%, 30%));
gradient dark
background: linear-gradient(to right, hsl(127, 50%, 30%), hsl(127, 50%, 10%))
hex
background-color: #26732F;
tailwind
bg-[hsl(127,50%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 50%, 30%, 0.4);
css variable
--color-primary: hsl(127, 50%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 50%, 30%)?
HEX: #26732F | RGB: rgb(38, 115, 47) | CMYK: 67%, 0%, 59%, 55% | HSV: 127°, 67%, 45%. Copy any format from the conversion table above.
What colors go well with #26732F?
The complementary color is HSL(307, 50%, 30%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(127, 50%, 30%) in CSS?
As HSL: color: hsl(127, 50%, 30%); — As HEX: color: #26732F; — As RGB: color: rgb(38, 115, 47); — Tailwind CSS: bg-[hsl(127,50%,30%)] — CSS variable: --color-primary: hsl(127, 50%, 30%);