HSL(81, 94%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(81,94%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(81, 94%, 15%) | color: hsl(81, 94%, 15%) | |
| HEX | #314A02 | color: #314A02 | |
| RGB | rgb(49, 74, 2) | color: rgb(49, 74, 2) | |
| CMYK | cmyk(34%, 0%, 97%, 71%) | — | |
| HSV | hsv(81, 97%, 29%) | — | |
| HWB | hwb(81 1% 71%) | color: hwb(81 1% 71%) | |
| OKLCH | oklch(0.3745 0.0971 128.51) | color: oklch(0.3745 0.0971 128.51) | |
| Lab | lab(28.26 -20.92 35.38) | color: lab(28.26 -20.92 35.38) | |
| LCH | lch(28.26 41.1 120.6) | color: lch(28.26 41.1 120.6) |
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)
#3C3C13 — rgb(60, 60, 19)
Deuteranopia (Green-blind)
#3A3918 — rgb(58, 57, 24)
Tritanopia (Blue-blind)
#322124 — rgb(50, 33, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(81, 94%, 15%);
text
color: hsl(81, 94%, 15%);
border
border: 2px solid hsl(81, 94%, 15%);
gradient light
background: linear-gradient(to right, hsl(81, 94%, 35%), hsl(81, 94%, 15%));
gradient dark
background: linear-gradient(to right, hsl(81, 94%, 15%), hsl(81, 94%, 0%))
hex
background-color: #314A02;
tailwind
bg-[hsl(81,94%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(81, 94%, 15%, 0.4);
css variable
--color-primary: hsl(81, 94%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(81, 94%, 15%)?
HEX: #314A02 | RGB: rgb(49, 74, 2) | CMYK: 34%, 0%, 97%, 71% | HSV: 81°, 97%, 29%. Copy any format from the conversion table above.
What colors go well with #314A02?
The complementary color is HSL(261, 94%, 15%). For a triadic harmony, use hues 81°, 201°, and 321°. For analogous combinations, try hues 51° and 111°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(81, 94%, 15%) in CSS?
As HSL: color: hsl(81, 94%, 15%); — As HEX: color: #314A02; — As RGB: color: rgb(49, 74, 2); — Tailwind CSS: bg-[hsl(81,94%,15%)] — CSS variable: --color-primary: hsl(81, 94%, 15%);