HSL(128, 21%, 19%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(128,21%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(128, 21%, 19%) | color: hsl(128, 21%, 19%) | |
| HEX | #263B29 | color: #263B29 | |
| RGB | rgb(38, 59, 41) | color: rgb(38, 59, 41) | |
| CMYK | cmyk(36%, 0%, 31%, 77%) | — | |
| HSV | hsv(129, 36%, 23%) | — | |
| HWB | hwb(129 15% 77%) | color: hwb(129 15% 77%) | |
| OKLCH | oklch(0.3287 0.0414 148.24) | color: oklch(0.3287 0.0414 148.24) | |
| Lab | lab(22.65 -12.86 8.57) | color: lab(22.65 -12.86 8.57) | |
| LCH | lch(22.65 15.45 146.32) | color: lch(22.65 15.45 146.32) |
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)
#2F2F2D — rgb(47, 47, 45)
Deuteranopia (Green-blind)
#2E2C2E — rgb(46, 44, 46)
Tritanopia (Blue-blind)
#273132 — rgb(39, 49, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(128, 21%, 19%);
text
color: hsl(128, 21%, 19%);
border
border: 2px solid hsl(128, 21%, 19%);
gradient light
background: linear-gradient(to right, hsl(128, 21%, 39%), hsl(128, 21%, 19%));
gradient dark
background: linear-gradient(to right, hsl(128, 21%, 19%), hsl(128, 21%, 0%))
hex
background-color: #263B29;
tailwind
bg-[hsl(128,21%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(128, 21%, 19%, 0.4);
css variable
--color-primary: hsl(128, 21%, 19%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(128, 21%, 19%)?
HEX: #263B29 | RGB: rgb(38, 59, 41) | CMYK: 36%, 0%, 31%, 77% | HSV: 129°, 36%, 23%. Copy any format from the conversion table above.
What colors go well with #263B29?
The complementary color is HSL(308, 21%, 19%). For a triadic harmony, use hues 128°, 248°, and 8°. For analogous combinations, try hues 98° and 158°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(128, 21%, 19%) in CSS?
As HSL: color: hsl(128, 21%, 19%); — As HEX: color: #263B29; — As RGB: color: rgb(38, 59, 41); — Tailwind CSS: bg-[hsl(128,21%,19%)] — CSS variable: --color-primary: hsl(128, 21%, 19%);