HSL(108, 90%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(108,90%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(108, 90%, 28%) | color: hsl(108, 90%, 28%) | |
| HEX | #218807 | color: #218807 | |
| RGB | rgb(33, 136, 7) | color: rgb(33, 136, 7) | |
| CMYK | cmyk(76%, 0%, 95%, 47%) | — | |
| HSV | hsv(108, 95%, 53%) | — | |
| HWB | hwb(108 3% 47%) | color: hwb(108 3% 47%) | |
| OKLCH | oklch(0.5477 0.1769 140.96) | color: oklch(0.5477 0.1769 140.96) | |
| Lab | lab(49.43 -50.24 51.31) | color: lab(49.43 -50.24 51.31) | |
| LCH | lch(49.43 71.81 134.4) | color: lch(49.43 71.81 134.4) |
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)
#4E4F26 — rgb(78, 79, 38)
Deuteranopia (Green-blind)
#48402E — rgb(72, 64, 46)
Tritanopia (Blue-blind)
#263F44 — rgb(38, 63, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(108, 90%, 28%);
text
color: hsl(108, 90%, 28%);
border
border: 2px solid hsl(108, 90%, 28%);
gradient light
background: linear-gradient(to right, hsl(108, 90%, 48%), hsl(108, 90%, 28%));
gradient dark
background: linear-gradient(to right, hsl(108, 90%, 28%), hsl(108, 90%, 8%))
hex
background-color: #218807;
tailwind
bg-[hsl(108,90%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(108, 90%, 28%, 0.4);
css variable
--color-primary: hsl(108, 90%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(108, 90%, 28%)?
HEX: #218807 | RGB: rgb(33, 136, 7) | CMYK: 76%, 0%, 95%, 47% | HSV: 108°, 95%, 53%. Copy any format from the conversion table above.
What colors go well with #218807?
The complementary color is HSL(288, 90%, 28%). For a triadic harmony, use hues 108°, 228°, and 348°. For analogous combinations, try hues 78° and 138°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(108, 90%, 28%) in CSS?
As HSL: color: hsl(108, 90%, 28%); — As HEX: color: #218807; — As RGB: color: rgb(33, 136, 7); — Tailwind CSS: bg-[hsl(108,90%,28%)] — CSS variable: --color-primary: hsl(108, 90%, 28%);