HSL(138, 83%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(138,83%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(138, 83%, 30%) | color: hsl(138, 83%, 30%) | |
| HEX | #0D8C33 | color: #0D8C33 | |
| RGB | rgb(13, 140, 51) | color: rgb(13, 140, 51) | |
| CMYK | cmyk(91%, 0%, 64%, 45%) | — | |
| HSV | hsv(138, 91%, 55%) | — | |
| HWB | hwb(138 5% 45%) | color: hwb(138 5% 45%) | |
| OKLCH | oklch(0.559 0.1626 146.88) | color: oklch(0.559 0.1626 146.88) | |
| Lab | lab(50.78 -50.7 37.87) | color: lab(50.78 -50.7 37.87) | |
| LCH | lch(50.78 63.28 143.24) | color: lch(50.78 63.28 143.24) |
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)
#444549 — rgb(68, 69, 73)
Deuteranopia (Green-blind)
#3D334E — rgb(61, 51, 78)
Tritanopia (Blue-blind)
#135A5D — rgb(19, 90, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(138, 83%, 30%);
text
color: hsl(138, 83%, 30%);
border
border: 2px solid hsl(138, 83%, 30%);
gradient light
background: linear-gradient(to right, hsl(138, 83%, 50%), hsl(138, 83%, 30%));
gradient dark
background: linear-gradient(to right, hsl(138, 83%, 30%), hsl(138, 83%, 10%))
hex
background-color: #0D8C33;
tailwind
bg-[hsl(138,83%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(138, 83%, 30%, 0.4);
css variable
--color-primary: hsl(138, 83%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(138, 83%, 30%)?
HEX: #0D8C33 | RGB: rgb(13, 140, 51) | CMYK: 91%, 0%, 64%, 45% | HSV: 138°, 91%, 55%. Copy any format from the conversion table above.
What colors go well with #0D8C33?
The complementary color is HSL(318, 83%, 30%). 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, 83%, 30%) in CSS?
As HSL: color: hsl(138, 83%, 30%); — As HEX: color: #0D8C33; — As RGB: color: rgb(13, 140, 51); — Tailwind CSS: bg-[hsl(138,83%,30%)] — CSS variable: --color-primary: hsl(138, 83%, 30%);