HSL(133, 27%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(133,27%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(133, 27%, 18%) | color: hsl(133, 27%, 18%) | |
| HEX | #223A27 | color: #223A27 | |
| RGB | rgb(34, 58, 39) | color: rgb(34, 58, 39) | |
| CMYK | cmyk(41%, 0%, 33%, 77%) | — | |
| HSV | hsv(133, 41%, 23%) | — | |
| HWB | hwb(133 14% 77%) | color: hwb(133 14% 77%) | |
| OKLCH | oklch(0.3225 0.0452 149.88) | color: oklch(0.3225 0.0452 149.88) | |
| Lab | lab(21.99 -14.29 8.93) | color: lab(21.99 -14.29 8.93) | |
| LCH | lch(21.99 16.85 148) | color: lch(21.99 16.85 148) |
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)
#2C2D2C — rgb(44, 45, 44)
Deuteranopia (Green-blind)
#2B292D — rgb(43, 41, 45)
Tritanopia (Blue-blind)
#232F30 — rgb(35, 47, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(133, 27%, 18%);
text
color: hsl(133, 27%, 18%);
border
border: 2px solid hsl(133, 27%, 18%);
gradient light
background: linear-gradient(to right, hsl(133, 27%, 38%), hsl(133, 27%, 18%));
gradient dark
background: linear-gradient(to right, hsl(133, 27%, 18%), hsl(133, 27%, 0%))
hex
background-color: #223A27;
tailwind
bg-[hsl(133,27%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(133, 27%, 18%, 0.4);
css variable
--color-primary: hsl(133, 27%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(133, 27%, 18%)?
HEX: #223A27 | RGB: rgb(34, 58, 39) | CMYK: 41%, 0%, 33%, 77% | HSV: 133°, 41%, 23%. Copy any format from the conversion table above.
What colors go well with #223A27?
The complementary color is HSL(313, 27%, 18%). For a triadic harmony, use hues 133°, 253°, and 13°. For analogous combinations, try hues 103° and 163°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(133, 27%, 18%) in CSS?
As HSL: color: hsl(133, 27%, 18%); — As HEX: color: #223A27; — As RGB: color: rgb(34, 58, 39); — Tailwind CSS: bg-[hsl(133,27%,18%)] — CSS variable: --color-primary: hsl(133, 27%, 18%);