HSL(138, 88%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(138,88%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(138, 88%, 23%) | color: hsl(138, 88%, 23%) | |
| HEX | #076E26 | color: #076E26 | |
| RGB | rgb(7, 110, 38) | color: rgb(7, 110, 38) | |
| CMYK | cmyk(94%, 0%, 65%, 57%) | — | |
| HSV | hsv(138, 94%, 43%) | — | |
| HWB | hwb(138 3% 57%) | color: hwb(138 3% 57%) | |
| OKLCH | oklch(0.4699 0.1371 146.86) | color: oklch(0.4699 0.1371 146.86) | |
| Lab | lab(40.14 -42.76 31.99) | color: lab(40.14 -42.76 31.99) | |
| LCH | lch(40.14 53.4 143.2) | color: lch(40.14 53.4 143.2) |
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)
#343537 — rgb(52, 53, 55)
Deuteranopia (Green-blind)
#2E263C — rgb(46, 38, 60)
Tritanopia (Blue-blind)
#0C4548 — rgb(12, 69, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(138, 88%, 23%);
text
color: hsl(138, 88%, 23%);
border
border: 2px solid hsl(138, 88%, 23%);
gradient light
background: linear-gradient(to right, hsl(138, 88%, 43%), hsl(138, 88%, 23%));
gradient dark
background: linear-gradient(to right, hsl(138, 88%, 23%), hsl(138, 88%, 3%))
hex
background-color: #076E26;
tailwind
bg-[hsl(138,88%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(138, 88%, 23%, 0.4);
css variable
--color-primary: hsl(138, 88%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(138, 88%, 23%)?
HEX: #076E26 | RGB: rgb(7, 110, 38) | CMYK: 94%, 0%, 65%, 57% | HSV: 138°, 94%, 43%. Copy any format from the conversion table above.
What colors go well with #076E26?
The complementary color is HSL(318, 88%, 23%). 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, 88%, 23%) in CSS?
As HSL: color: hsl(138, 88%, 23%); — As HEX: color: #076E26; — As RGB: color: rgb(7, 110, 38); — Tailwind CSS: bg-[hsl(138,88%,23%)] — CSS variable: --color-primary: hsl(138, 88%, 23%);