HSL(102, 89%, 39%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,89%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 89%, 39%) | color: hsl(102, 89%, 39%) | |
| HEX | #40BC0B | color: #40BC0B | |
| RGB | rgb(64, 188, 11) | color: rgb(64, 188, 11) | |
| CMYK | cmyk(66%, 0%, 94%, 26%) | — | |
| HSV | hsv(102, 94%, 74%) | — | |
| HWB | hwb(102 4% 26%) | color: hwb(102 4% 26%) | |
| OKLCH | oklch(0.6985 0.2203 139.66) | color: oklch(0.6985 0.2203 139.66) | |
| Lab | lab(67.34 -61.04 65.88) | color: lab(67.34 -61.04 65.88) | |
| LCH | lch(67.34 89.81 132.82) | color: lch(67.34 89.81 132.82) |
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)
#767736 — rgb(118, 119, 54)
Deuteranopia (Green-blind)
#6F6540 — rgb(111, 101, 64)
Tritanopia (Blue-blind)
#46585F — rgb(70, 88, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 89%, 39%);
text
color: hsl(102, 89%, 39%);
border
border: 2px solid hsl(102, 89%, 39%);
gradient light
background: linear-gradient(to right, hsl(102, 89%, 59%), hsl(102, 89%, 39%));
gradient dark
background: linear-gradient(to right, hsl(102, 89%, 39%), hsl(102, 89%, 19%))
hex
background-color: #40BC0B;
tailwind
bg-[hsl(102,89%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 89%, 39%, 0.4);
css variable
--color-primary: hsl(102, 89%, 39%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 89%, 39%)?
HEX: #40BC0B | RGB: rgb(64, 188, 11) | CMYK: 66%, 0%, 94%, 26% | HSV: 102°, 94%, 74%. Copy any format from the conversion table above.
What colors go well with #40BC0B?
The complementary color is HSL(282, 89%, 39%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 89%, 39%) in CSS?
As HSL: color: hsl(102, 89%, 39%); — As HEX: color: #40BC0B; — As RGB: color: rgb(64, 188, 11); — Tailwind CSS: bg-[hsl(102,89%,39%)] — CSS variable: --color-primary: hsl(102, 89%, 39%);