HSL(138, 100%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(138,100%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(138, 100%, 40%) | color: hsl(138, 100%, 40%) | |
| HEX | #00CC3D | color: #00CC3D | |
| RGB | rgb(0, 204, 61) | color: rgb(0, 204, 61) | |
| CMYK | cmyk(100%, 0%, 70%, 20%) | — | |
| HSV | hsv(138, 100%, 80%) | — | |
| HWB | hwb(138 0% 20%) | color: hwb(138 0% 20%) | |
| OKLCH | oklch(0.735 0.2284 145.41) | color: oklch(0.735 0.2284 145.41) | |
| Lab | lab(71.91 -69.91 56.66) | color: lab(71.91 -69.91 56.66) | |
| LCH | lch(71.91 89.99 140.98) | color: lch(71.91 89.99 140.98) |
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)
#585A60 — rgb(88, 90, 96)
Deuteranopia (Green-blind)
#4D3D68 — rgb(77, 61, 104)
Tritanopia (Blue-blind)
#0A7B81 — rgb(10, 123, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(138, 100%, 40%);
text
color: hsl(138, 100%, 40%);
border
border: 2px solid hsl(138, 100%, 40%);
gradient light
background: linear-gradient(to right, hsl(138, 100%, 60%), hsl(138, 100%, 40%));
gradient dark
background: linear-gradient(to right, hsl(138, 100%, 40%), hsl(138, 100%, 20%))
hex
background-color: #00CC3D;
tailwind
bg-[hsl(138,100%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(138, 100%, 40%, 0.4);
css variable
--color-primary: hsl(138, 100%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(138, 100%, 40%)?
HEX: #00CC3D | RGB: rgb(0, 204, 61) | CMYK: 100%, 0%, 70%, 20% | HSV: 138°, 100%, 80%. Copy any format from the conversion table above.
What colors go well with #00CC3D?
The complementary color is HSL(318, 100%, 40%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(138, 100%, 40%) in CSS?
As HSL: color: hsl(138, 100%, 40%); — As HEX: color: #00CC3D; — As RGB: color: rgb(0, 204, 61); — Tailwind CSS: bg-[hsl(138,100%,40%)] — CSS variable: --color-primary: hsl(138, 100%, 40%);