HSL(149, 95%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(149,95%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(149, 95%, 17%) | color: hsl(149, 95%, 17%) | |
| HEX | #02552A | color: #02552A | |
| RGB | rgb(2, 85, 42) | color: rgb(2, 85, 42) | |
| CMYK | cmyk(98%, 0%, 51%, 67%) | — | |
| HSV | hsv(149, 98%, 33%) | — | |
| HWB | hwb(149 1% 67%) | color: hwb(149 1% 67%) | |
| OKLCH | oklch(0.3944 0.1011 152.73) | color: oklch(0.3944 0.1011 152.73) | |
| Lab | lab(31.06 -33.52 18.88) | color: lab(31.06 -33.52 18.88) | |
| LCH | lch(31.06 38.47 150.61) | color: lch(31.06 38.47 150.61) |
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)
#262734 — rgb(38, 39, 52)
Deuteranopia (Green-blind)
#211B37 — rgb(33, 27, 55)
Tritanopia (Blue-blind)
#063D3E — rgb(6, 61, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(149, 95%, 17%);
text
color: hsl(149, 95%, 17%);
border
border: 2px solid hsl(149, 95%, 17%);
gradient light
background: linear-gradient(to right, hsl(149, 95%, 37%), hsl(149, 95%, 17%));
gradient dark
background: linear-gradient(to right, hsl(149, 95%, 17%), hsl(149, 95%, 0%))
hex
background-color: #02552A;
tailwind
bg-[hsl(149,95%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(149, 95%, 17%, 0.4);
css variable
--color-primary: hsl(149, 95%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(149, 95%, 17%)?
HEX: #02552A | RGB: rgb(2, 85, 42) | CMYK: 98%, 0%, 51%, 67% | HSV: 149°, 98%, 33%. Copy any format from the conversion table above.
What colors go well with #02552A?
The complementary color is HSL(329, 95%, 17%). For a triadic harmony, use hues 149°, 269°, and 29°. For analogous combinations, try hues 119° and 179°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(149, 95%, 17%) in CSS?
As HSL: color: hsl(149, 95%, 17%); — As HEX: color: #02552A; — As RGB: color: rgb(2, 85, 42); — Tailwind CSS: bg-[hsl(149,95%,17%)] — CSS variable: --color-primary: hsl(149, 95%, 17%);