HSL(72, 61%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(72,61%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(72, 61%, 31%) | color: hsl(72, 61%, 31%) | |
| HEX | #6C7F1F | color: #6C7F1F | |
| RGB | rgb(108, 127, 31) | color: rgb(108, 127, 31) | |
| CMYK | cmyk(15%, 0%, 76%, 50%) | — | |
| HSV | hsv(72, 76%, 50%) | — | |
| HWB | hwb(72 12% 50%) | color: hwb(72 12% 50%) | |
| OKLCH | oklch(0.5624 0.1202 120.32) | color: oklch(0.5624 0.1202 120.32) | |
| Lab | lab(50.06 -20.53 46.74) | color: lab(50.06 -20.53 46.74) | |
| LCH | lch(50.06 51.05 113.71) | color: lch(50.06 51.05 113.71) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#747436 — rgb(116, 116, 54)
Deuteranopia (Green-blind)
#73723C — rgb(115, 114, 60)
Tritanopia (Blue-blind)
#6D494D — rgb(109, 73, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(72, 61%, 31%);
text
color: hsl(72, 61%, 31%);
border
border: 2px solid hsl(72, 61%, 31%);
gradient light
background: linear-gradient(to right, hsl(72, 61%, 51%), hsl(72, 61%, 31%));
gradient dark
background: linear-gradient(to right, hsl(72, 61%, 31%), hsl(72, 61%, 11%))
hex
background-color: #6C7F1F;
tailwind
bg-[hsl(72,61%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(72, 61%, 31%, 0.4);
css variable
--color-primary: hsl(72, 61%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(72, 61%, 31%)?
HEX: #6C7F1F | RGB: rgb(108, 127, 31) | CMYK: 15%, 0%, 76%, 50% | HSV: 72°, 76%, 50%. Copy any format from the conversion table above.
What colors go well with #6C7F1F?
The complementary color is HSL(252, 61%, 31%). For a triadic harmony, use hues 72°, 192°, and 312°. For analogous combinations, try hues 42° and 102°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(72, 61%, 31%) in CSS?
As HSL: color: hsl(72, 61%, 31%); — As HEX: color: #6C7F1F; — As RGB: color: rgb(108, 127, 31); — Tailwind CSS: bg-[hsl(72,61%,31%)] — CSS variable: --color-primary: hsl(72, 61%, 31%);