HSL(120, 90%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(120,90%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(120, 90%, 23%) | color: hsl(120, 90%, 23%) | |
| HEX | #066F06 | color: #066F06 | |
| RGB | rgb(6, 111, 6) | color: rgb(6, 111, 6) | |
| CMYK | cmyk(95%, 0%, 95%, 56%) | — | |
| HSV | hsv(120, 95%, 44%) | — | |
| HWB | hwb(120 2% 56%) | color: hwb(120 2% 56%) | |
| OKLCH | oklch(0.4703 0.1566 142.57) | color: oklch(0.4703 0.1566 142.57) | |
| Lab | lab(40.28 -45.82 43.64) | color: lab(40.28 -45.82 43.64) | |
| LCH | lch(40.28 63.28 136.4) | color: lch(40.28 63.28 136.4) |
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)
#33341F — rgb(51, 52, 31)
Deuteranopia (Green-blind)
#2D2626 — rgb(45, 38, 38)
Tritanopia (Blue-blind)
#0B3338 — rgb(11, 51, 56)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(120, 90%, 23%);
text
color: hsl(120, 90%, 23%);
border
border: 2px solid hsl(120, 90%, 23%);
gradient light
background: linear-gradient(to right, hsl(120, 90%, 43%), hsl(120, 90%, 23%));
gradient dark
background: linear-gradient(to right, hsl(120, 90%, 23%), hsl(120, 90%, 3%))
hex
background-color: #066F06;
tailwind
bg-[hsl(120,90%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(120, 90%, 23%, 0.4);
css variable
--color-primary: hsl(120, 90%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(120, 90%, 23%)?
HEX: #066F06 | RGB: rgb(6, 111, 6) | CMYK: 95%, 0%, 95%, 56% | HSV: 120°, 95%, 44%. Copy any format from the conversion table above.
What colors go well with #066F06?
The complementary color is HSL(300, 90%, 23%). For a triadic harmony, use hues 120°, 240°, and 0°. For analogous combinations, try hues 90° and 150°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(120, 90%, 23%) in CSS?
As HSL: color: hsl(120, 90%, 23%); — As HEX: color: #066F06; — As RGB: color: rgb(6, 111, 6); — Tailwind CSS: bg-[hsl(120,90%,23%)] — CSS variable: --color-primary: hsl(120, 90%, 23%);