HSL(127, 97%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,97%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 97%, 28%) | color: hsl(127, 97%, 28%) | |
| HEX | #028D12 | color: #028D12 | |
| RGB | rgb(2, 141, 18) | color: rgb(2, 141, 18) | |
| CMYK | cmyk(99%, 0%, 87%, 45%) | — | |
| HSV | hsv(127, 99%, 55%) | — | |
| HWB | hwb(127 1% 45%) | color: hwb(127 1% 45%) | |
| OKLCH | oklch(0.5582 0.1845 143.26) | color: oklch(0.5582 0.1845 143.26) | |
| Lab | lab(50.81 -54.65 50.11) | color: lab(50.81 -54.65 50.11) | |
| LCH | lch(50.81 74.15 137.48) | color: lch(50.81 74.15 137.48) |
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)
#3E3F30 — rgb(62, 63, 48)
Deuteranopia (Green-blind)
#362C37 — rgb(54, 44, 55)
Tritanopia (Blue-blind)
#09474C — rgb(9, 71, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 97%, 28%);
text
color: hsl(127, 97%, 28%);
border
border: 2px solid hsl(127, 97%, 28%);
gradient light
background: linear-gradient(to right, hsl(127, 97%, 48%), hsl(127, 97%, 28%));
gradient dark
background: linear-gradient(to right, hsl(127, 97%, 28%), hsl(127, 97%, 8%))
hex
background-color: #028D12;
tailwind
bg-[hsl(127,97%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 97%, 28%, 0.4);
css variable
--color-primary: hsl(127, 97%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 97%, 28%)?
HEX: #028D12 | RGB: rgb(2, 141, 18) | CMYK: 99%, 0%, 87%, 45% | HSV: 127°, 99%, 55%. Copy any format from the conversion table above.
What colors go well with #028D12?
The complementary color is HSL(307, 97%, 28%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(127, 97%, 28%) in CSS?
As HSL: color: hsl(127, 97%, 28%); — As HEX: color: #028D12; — As RGB: color: rgb(2, 141, 18); — Tailwind CSS: bg-[hsl(127,97%,28%)] — CSS variable: --color-primary: hsl(127, 97%, 28%);