HSL(127, 78%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,78%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 78%, 26%) | color: hsl(127, 78%, 26%) | |
| HEX | #0F761B | color: #0F761B | |
| RGB | rgb(15, 118, 27) | color: rgb(15, 118, 27) | |
| CMYK | cmyk(87%, 0%, 77%, 54%) | — | |
| HSV | hsv(127, 87%, 46%) | — | |
| HWB | hwb(127 6% 54%) | color: hwb(127 6% 54%) | |
| OKLCH | oklch(0.4934 0.1533 143.95) | color: oklch(0.4934 0.1533 143.95) | |
| Lab | lab(42.97 -45.87 39.88) | color: lab(42.97 -45.87 39.88) | |
| LCH | lch(42.97 60.78 139) | color: lch(42.97 60.78 139) |
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)
#3C3D31 — rgb(60, 61, 49)
Deuteranopia (Green-blind)
#362E36 — rgb(54, 46, 54)
Tritanopia (Blue-blind)
#144246 — rgb(20, 66, 70)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 78%, 26%);
text
color: hsl(127, 78%, 26%);
border
border: 2px solid hsl(127, 78%, 26%);
gradient light
background: linear-gradient(to right, hsl(127, 78%, 46%), hsl(127, 78%, 26%));
gradient dark
background: linear-gradient(to right, hsl(127, 78%, 26%), hsl(127, 78%, 6%))
hex
background-color: #0F761B;
tailwind
bg-[hsl(127,78%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 78%, 26%, 0.4);
css variable
--color-primary: hsl(127, 78%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 78%, 26%)?
HEX: #0F761B | RGB: rgb(15, 118, 27) | CMYK: 87%, 0%, 77%, 54% | HSV: 127°, 87%, 46%. Copy any format from the conversion table above.
What colors go well with #0F761B?
The complementary color is HSL(307, 78%, 26%). 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, 78%, 26%) in CSS?
As HSL: color: hsl(127, 78%, 26%); — As HEX: color: #0F761B; — As RGB: color: rgb(15, 118, 27); — Tailwind CSS: bg-[hsl(127,78%,26%)] — CSS variable: --color-primary: hsl(127, 78%, 26%);