HSL(76, 52%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(76,52%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(76, 52%, 31%) | color: hsl(76, 52%, 31%) | |
| HEX | #627826 | color: #627826 | |
| RGB | rgb(98, 120, 38) | color: rgb(98, 120, 38) | |
| CMYK | cmyk(18%, 0%, 68%, 53%) | — | |
| HSV | hsv(76, 68%, 47%) | — | |
| HWB | hwb(76 15% 53%) | color: hwb(76 15% 53%) | |
| OKLCH | oklch(0.5377 0.1105 123.04) | color: oklch(0.5377 0.1105 123.04) | |
| Lab | lab(47.2 -20.85 40.76) | color: lab(47.2 -20.85 40.76) | |
| LCH | lch(47.2 45.78 117.09) | color: lch(47.2 45.78 117.09) |
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)
#6C6C3A — rgb(108, 108, 58)
Deuteranopia (Green-blind)
#6A693F — rgb(106, 105, 63)
Tritanopia (Blue-blind)
#634A4D — rgb(99, 74, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(76, 52%, 31%);
text
color: hsl(76, 52%, 31%);
border
border: 2px solid hsl(76, 52%, 31%);
gradient light
background: linear-gradient(to right, hsl(76, 52%, 51%), hsl(76, 52%, 31%));
gradient dark
background: linear-gradient(to right, hsl(76, 52%, 31%), hsl(76, 52%, 11%))
hex
background-color: #627826;
tailwind
bg-[hsl(76,52%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(76, 52%, 31%, 0.4);
css variable
--color-primary: hsl(76, 52%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(76, 52%, 31%)?
HEX: #627826 | RGB: rgb(98, 120, 38) | CMYK: 18%, 0%, 68%, 53% | HSV: 76°, 68%, 47%. Copy any format from the conversion table above.
What colors go well with #627826?
The complementary color is HSL(256, 52%, 31%). For a triadic harmony, use hues 76°, 196°, and 316°. For analogous combinations, try hues 46° and 106°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(76, 52%, 31%) in CSS?
As HSL: color: hsl(76, 52%, 31%); — As HEX: color: #627826; — As RGB: color: rgb(98, 120, 38); — Tailwind CSS: bg-[hsl(76,52%,31%)] — CSS variable: --color-primary: hsl(76, 52%, 31%);