HSL(102, 90%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,90%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 90%, 28%) | color: hsl(102, 90%, 28%) | |
| HEX | #2E8807 | color: #2E8807 | |
| RGB | rgb(46, 136, 7) | color: rgb(46, 136, 7) | |
| CMYK | cmyk(66%, 0%, 95%, 47%) | — | |
| HSV | hsv(102, 95%, 53%) | — | |
| HWB | hwb(102 3% 47%) | color: hwb(102 3% 47%) | |
| OKLCH | oklch(0.5512 0.1724 139.45) | color: oklch(0.5512 0.1724 139.45) | |
| Lab | lab(49.74 -47.57 51.7) | color: lab(49.74 -47.57 51.7) | |
| LCH | lch(49.74 70.26 132.62) | color: lch(49.74 70.26 132.62) |
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)
#555626 — rgb(85, 86, 38)
Deuteranopia (Green-blind)
#50492E — rgb(80, 73, 46)
Tritanopia (Blue-blind)
#333F44 — rgb(51, 63, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 90%, 28%);
text
color: hsl(102, 90%, 28%);
border
border: 2px solid hsl(102, 90%, 28%);
gradient light
background: linear-gradient(to right, hsl(102, 90%, 48%), hsl(102, 90%, 28%));
gradient dark
background: linear-gradient(to right, hsl(102, 90%, 28%), hsl(102, 90%, 8%))
hex
background-color: #2E8807;
tailwind
bg-[hsl(102,90%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 90%, 28%, 0.4);
css variable
--color-primary: hsl(102, 90%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 90%, 28%)?
HEX: #2E8807 | RGB: rgb(46, 136, 7) | CMYK: 66%, 0%, 95%, 47% | HSV: 102°, 95%, 53%. Copy any format from the conversion table above.
What colors go well with #2E8807?
The complementary color is HSL(282, 90%, 28%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 90%, 28%) in CSS?
As HSL: color: hsl(102, 90%, 28%); — As HEX: color: #2E8807; — As RGB: color: rgb(46, 136, 7); — Tailwind CSS: bg-[hsl(102,90%,28%)] — CSS variable: --color-primary: hsl(102, 90%, 28%);