HSL(117, 70%, 35%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(117,70%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(117, 70%, 35%) | color: hsl(117, 70%, 35%) | |
| HEX | #21981B | color: #21981B | |
| RGB | rgb(33, 152, 27) | color: rgb(33, 152, 27) | |
| CMYK | cmyk(78%, 0%, 82%, 40%) | — | |
| HSV | hsv(117, 82%, 60%) | — | |
| HWB | hwb(117 11% 40%) | color: hwb(117 11% 40%) | |
| OKLCH | oklch(0.5936 0.1873 142.31) | color: oklch(0.5936 0.1873 142.31) | |
| Lab | lab(54.93 -54.51 51.57) | color: lab(54.93 -54.51 51.57) | |
| LCH | lch(54.93 75.04 136.59) | color: lch(54.93 75.04 136.59) |
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)
#555639 — rgb(85, 86, 57)
Deuteranopia (Green-blind)
#4E4541 — rgb(78, 69, 65)
Tritanopia (Blue-blind)
#275156 — rgb(39, 81, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(117, 70%, 35%);
text
color: hsl(117, 70%, 35%);
border
border: 2px solid hsl(117, 70%, 35%);
gradient light
background: linear-gradient(to right, hsl(117, 70%, 55%), hsl(117, 70%, 35%));
gradient dark
background: linear-gradient(to right, hsl(117, 70%, 35%), hsl(117, 70%, 15%))
hex
background-color: #21981B;
tailwind
bg-[hsl(117,70%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(117, 70%, 35%, 0.4);
css variable
--color-primary: hsl(117, 70%, 35%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(117, 70%, 35%)?
HEX: #21981B | RGB: rgb(33, 152, 27) | CMYK: 78%, 0%, 82%, 40% | HSV: 117°, 82%, 60%. Copy any format from the conversion table above.
What colors go well with #21981B?
The complementary color is HSL(297, 70%, 35%). For a triadic harmony, use hues 117°, 237°, and 357°. For analogous combinations, try hues 87° and 147°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(117, 70%, 35%) in CSS?
As HSL: color: hsl(117, 70%, 35%); — As HEX: color: #21981B; — As RGB: color: rgb(33, 152, 27); — Tailwind CSS: bg-[hsl(117,70%,35%)] — CSS variable: --color-primary: hsl(117, 70%, 35%);