HSL(128, 23%, 25%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(128,23%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(128, 23%, 25%) | color: hsl(128, 23%, 25%) | |
| HEX | #314E35 | color: #314E35 | |
| RGB | rgb(49, 78, 53) | color: rgb(49, 78, 53) | |
| CMYK | cmyk(37%, 0%, 32%, 69%) | — | |
| HSV | hsv(128, 37%, 31%) | — | |
| HWB | hwb(128 20% 69%) | color: hwb(128 20% 69%) | |
| OKLCH | oklch(0.3932 0.0546 147.9) | color: oklch(0.3932 0.0546 147.9) | |
| Lab | lab(30.3 -16.92 11.45) | color: lab(30.3 -16.92 11.45) | |
| LCH | lch(30.3 20.43 145.91) | color: lch(30.3 20.43 145.91) |
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)
#3E3E3B — rgb(62, 62, 59)
Deuteranopia (Green-blind)
#3C3A3D — rgb(60, 58, 61)
Tritanopia (Blue-blind)
#324041 — rgb(50, 64, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(128, 23%, 25%);
text
color: hsl(128, 23%, 25%);
border
border: 2px solid hsl(128, 23%, 25%);
gradient light
background: linear-gradient(to right, hsl(128, 23%, 45%), hsl(128, 23%, 25%));
gradient dark
background: linear-gradient(to right, hsl(128, 23%, 25%), hsl(128, 23%, 5%))
hex
background-color: #314E35;
tailwind
bg-[hsl(128,23%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(128, 23%, 25%, 0.4);
css variable
--color-primary: hsl(128, 23%, 25%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(128, 23%, 25%)?
HEX: #314E35 | RGB: rgb(49, 78, 53) | CMYK: 37%, 0%, 32%, 69% | HSV: 128°, 37%, 31%. Copy any format from the conversion table above.
What colors go well with #314E35?
The complementary color is HSL(308, 23%, 25%). 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, 23%, 25%) in CSS?
As HSL: color: hsl(128, 23%, 25%); — As HEX: color: #314E35; — As RGB: color: rgb(49, 78, 53); — Tailwind CSS: bg-[hsl(128,23%,25%)] — CSS variable: --color-primary: hsl(128, 23%, 25%);