HSL(102, 73%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,73%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 73%, 26%) | color: hsl(102, 73%, 26%) | |
| HEX | #2F7312 | color: #2F7312 | |
| RGB | rgb(47, 115, 18) | color: rgb(47, 115, 18) | |
| CMYK | cmyk(59%, 0%, 84%, 55%) | — | |
| HSV | hsv(102, 84%, 45%) | — | |
| HWB | hwb(102 7% 55%) | color: hwb(102 7% 55%) | |
| OKLCH | oklch(0.4925 0.1438 138.63) | color: oklch(0.4925 0.1438 138.63) | |
| Lab | lab(42.63 -39.08 42.95) | color: lab(42.63 -39.08 42.95) | |
| LCH | lch(42.63 58.07 132.3) | color: lch(42.63 58.07 132.3) |
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)
#4C4D29 — rgb(76, 77, 41)
Deuteranopia (Green-blind)
#49432F — rgb(73, 67, 47)
Tritanopia (Blue-blind)
#323C40 — rgb(50, 60, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 73%, 26%);
text
color: hsl(102, 73%, 26%);
border
border: 2px solid hsl(102, 73%, 26%);
gradient light
background: linear-gradient(to right, hsl(102, 73%, 46%), hsl(102, 73%, 26%));
gradient dark
background: linear-gradient(to right, hsl(102, 73%, 26%), hsl(102, 73%, 6%))
hex
background-color: #2F7312;
tailwind
bg-[hsl(102,73%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 73%, 26%, 0.4);
css variable
--color-primary: hsl(102, 73%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 73%, 26%)?
HEX: #2F7312 | RGB: rgb(47, 115, 18) | CMYK: 59%, 0%, 84%, 55% | HSV: 102°, 84%, 45%. Copy any format from the conversion table above.
What colors go well with #2F7312?
The complementary color is HSL(282, 73%, 26%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 73%, 26%) in CSS?
As HSL: color: hsl(102, 73%, 26%); — As HEX: color: #2F7312; — As RGB: color: rgb(47, 115, 18); — Tailwind CSS: bg-[hsl(102,73%,26%)] — CSS variable: --color-primary: hsl(102, 73%, 26%);