HSL(127, 75%, 24%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,75%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 75%, 24%) | color: hsl(127, 75%, 24%) | |
| HEX | #0F6B1A | color: #0F6B1A | |
| RGB | rgb(15, 107, 26) | color: rgb(15, 107, 26) | |
| CMYK | cmyk(86%, 0%, 76%, 58%) | — | |
| HSV | hsv(127, 86%, 42%) | — | |
| HWB | hwb(127 6% 58%) | color: hwb(127 6% 58%) | |
| OKLCH | oklch(0.4608 0.141 144.13) | color: oklch(0.4608 0.141 144.13) | |
| Lab | lab(39.05 -42.27 36.29) | color: lab(39.05 -42.27 36.29) | |
| LCH | lch(39.05 55.71 139.35) | color: lch(39.05 55.71 139.35) |
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)
#37382E — rgb(55, 56, 46)
Deuteranopia (Green-blind)
#322B32 — rgb(50, 43, 50)
Tritanopia (Blue-blind)
#143D40 — rgb(20, 61, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 75%, 24%);
text
color: hsl(127, 75%, 24%);
border
border: 2px solid hsl(127, 75%, 24%);
gradient light
background: linear-gradient(to right, hsl(127, 75%, 44%), hsl(127, 75%, 24%));
gradient dark
background: linear-gradient(to right, hsl(127, 75%, 24%), hsl(127, 75%, 4%))
hex
background-color: #0F6B1A;
tailwind
bg-[hsl(127,75%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 75%, 24%, 0.4);
css variable
--color-primary: hsl(127, 75%, 24%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 75%, 24%)?
HEX: #0F6B1A | RGB: rgb(15, 107, 26) | CMYK: 86%, 0%, 76%, 58% | HSV: 127°, 86%, 42%. Copy any format from the conversion table above.
What colors go well with #0F6B1A?
The complementary color is HSL(307, 75%, 24%). 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, 75%, 24%) in CSS?
As HSL: color: hsl(127, 75%, 24%); — As HEX: color: #0F6B1A; — As RGB: color: rgb(15, 107, 26); — Tailwind CSS: bg-[hsl(127,75%,24%)] — CSS variable: --color-primary: hsl(127, 75%, 24%);