HSL(81, 98%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(81,98%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(81, 98%, 21%) | color: hsl(81, 98%, 21%) | |
| HEX | #456A01 | color: #456A01 | |
| RGB | rgb(69, 106, 1) | color: rgb(69, 106, 1) | |
| CMYK | cmyk(35%, 0%, 99%, 58%) | — | |
| HSV | hsv(81, 99%, 42%) | — | |
| HWB | hwb(81 0% 58%) | color: hwb(81 0% 58%) | |
| OKLCH | oklch(0.4779 0.1273 129.55) | color: oklch(0.4779 0.1273 129.55) | |
| Lab | lab(40.53 -28.14 45.95) | color: lab(40.53 -28.14 45.95) | |
| LCH | lch(40.53 53.88 121.48) | color: lch(40.53 53.88 121.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#55551A — rgb(85, 85, 26)
Deuteranopia (Green-blind)
#535021 — rgb(83, 80, 33)
Tritanopia (Blue-blind)
#472E33 — rgb(71, 46, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(81, 98%, 21%);
text
color: hsl(81, 98%, 21%);
border
border: 2px solid hsl(81, 98%, 21%);
gradient light
background: linear-gradient(to right, hsl(81, 98%, 41%), hsl(81, 98%, 21%));
gradient dark
background: linear-gradient(to right, hsl(81, 98%, 21%), hsl(81, 98%, 1%))
hex
background-color: #456A01;
tailwind
bg-[hsl(81,98%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(81, 98%, 21%, 0.4);
css variable
--color-primary: hsl(81, 98%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(81, 98%, 21%)?
HEX: #456A01 | RGB: rgb(69, 106, 1) | CMYK: 35%, 0%, 99%, 58% | HSV: 81°, 99%, 42%. Copy any format from the conversion table above.
What colors go well with #456A01?
The complementary color is HSL(261, 98%, 21%). 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, 98%, 21%) in CSS?
As HSL: color: hsl(81, 98%, 21%); — As HEX: color: #456A01; — As RGB: color: rgb(69, 106, 1); — Tailwind CSS: bg-[hsl(81,98%,21%)] — CSS variable: --color-primary: hsl(81, 98%, 21%);