HSL(88, 80%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(88,80%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(88, 80%, 21%) | color: hsl(88, 80%, 21%) | |
| HEX | #38600B | color: #38600B | |
| RGB | rgb(56, 96, 11) | color: rgb(56, 96, 11) | |
| CMYK | cmyk(42%, 0%, 89%, 62%) | — | |
| HSV | hsv(88, 89%, 38%) | — | |
| HWB | hwb(88 4% 62%) | color: hwb(88 4% 62%) | |
| OKLCH | oklch(0.4425 0.1179 132.74) | color: oklch(0.4425 0.1179 132.74) | |
| Lab | lab(36.42 -28.28 39.54) | color: lab(36.42 -28.28 39.54) | |
| LCH | lch(36.42 48.61 125.57) | color: lch(36.42 48.61 125.57) |
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)
#494A20 — rgb(73, 74, 32)
Deuteranopia (Green-blind)
#474425 — rgb(71, 68, 37)
Tritanopia (Blue-blind)
#3A3033 — rgb(58, 48, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(88, 80%, 21%);
text
color: hsl(88, 80%, 21%);
border
border: 2px solid hsl(88, 80%, 21%);
gradient light
background: linear-gradient(to right, hsl(88, 80%, 41%), hsl(88, 80%, 21%));
gradient dark
background: linear-gradient(to right, hsl(88, 80%, 21%), hsl(88, 80%, 1%))
hex
background-color: #38600B;
tailwind
bg-[hsl(88,80%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(88, 80%, 21%, 0.4);
css variable
--color-primary: hsl(88, 80%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(88, 80%, 21%)?
HEX: #38600B | RGB: rgb(56, 96, 11) | CMYK: 42%, 0%, 89%, 62% | HSV: 88°, 89%, 38%. Copy any format from the conversion table above.
What colors go well with #38600B?
The complementary color is HSL(268, 80%, 21%). For a triadic harmony, use hues 88°, 208°, and 328°. For analogous combinations, try hues 58° and 118°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(88, 80%, 21%) in CSS?
As HSL: color: hsl(88, 80%, 21%); — As HEX: color: #38600B; — As RGB: color: rgb(56, 96, 11); — Tailwind CSS: bg-[hsl(88,80%,21%)] — CSS variable: --color-primary: hsl(88, 80%, 21%);