HSL(81, 100%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(81,100%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(81, 100%, 27%) | color: hsl(81, 100%, 27%) | |
| HEX | #5A8A00 | color: #5A8A00 | |
| RGB | rgb(90, 138, 0) | color: rgb(90, 138, 0) | |
| CMYK | cmyk(35%, 0%, 100%, 46%) | — | |
| HSV | hsv(81, 100%, 54%) | — | |
| HWB | hwb(81 0% 46%) | color: hwb(81 0% 46%) | |
| OKLCH | oklch(0.5767 0.1549 129.85) | color: oklch(0.5767 0.1549 129.85) | |
| Lab | lab(52.23 -34.48 55.75) | color: lab(52.23 -34.48 55.75) | |
| LCH | lch(52.23 65.55 121.74) | color: lch(52.23 65.55 121.74) |
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)
#6F6F21 — rgb(111, 111, 33)
Deuteranopia (Green-blind)
#6C6829 — rgb(108, 104, 41)
Tritanopia (Blue-blind)
#5C3C42 — rgb(92, 60, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(81, 100%, 27%);
text
color: hsl(81, 100%, 27%);
border
border: 2px solid hsl(81, 100%, 27%);
gradient light
background: linear-gradient(to right, hsl(81, 100%, 47%), hsl(81, 100%, 27%));
gradient dark
background: linear-gradient(to right, hsl(81, 100%, 27%), hsl(81, 100%, 7%))
hex
background-color: #5A8A00;
tailwind
bg-[hsl(81,100%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(81, 100%, 27%, 0.4);
css variable
--color-primary: hsl(81, 100%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(81, 100%, 27%)?
HEX: #5A8A00 | RGB: rgb(90, 138, 0) | CMYK: 35%, 0%, 100%, 46% | HSV: 81°, 100%, 54%. Copy any format from the conversion table above.
What colors go well with #5A8A00?
The complementary color is HSL(261, 100%, 27%). For a triadic harmony, use hues 81°, 201°, and 321°. For analogous combinations, try hues 51° and 111°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(81, 100%, 27%) in CSS?
As HSL: color: hsl(81, 100%, 27%); — As HEX: color: #5A8A00; — As RGB: color: rgb(90, 138, 0); — Tailwind CSS: bg-[hsl(81,100%,27%)] — CSS variable: --color-primary: hsl(81, 100%, 27%);