HSL(127, 16%, 25%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(127,16%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 16%, 25%) | color: hsl(127, 16%, 25%) | |
| HEX | #364A38 | color: #364A38 | |
| RGB | rgb(54, 74, 56) | color: rgb(54, 74, 56) | |
| CMYK | cmyk(27%, 0%, 24%, 71%) | — | |
| HSV | hsv(126, 27%, 29%) | — | |
| HWB | hwb(126 21% 71%) | color: hwb(126 21% 71%) | |
| OKLCH | oklch(0.3864 0.0393 147.38) | color: oklch(0.3864 0.0393 147.38) | |
| Lab | lab(29.33 -12.08 8.27) | color: lab(29.33 -12.08 8.27) | |
| LCH | lch(29.33 14.64 145.6) | color: lch(29.33 14.64 145.6) |
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)
#3F3F3C — rgb(63, 63, 60)
Deuteranopia (Green-blind)
#3E3C3D — rgb(62, 60, 61)
Tritanopia (Blue-blind)
#374041 — rgb(55, 64, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 16%, 25%);
text
color: hsl(127, 16%, 25%);
border
border: 2px solid hsl(127, 16%, 25%);
gradient light
background: linear-gradient(to right, hsl(127, 16%, 45%), hsl(127, 16%, 25%));
gradient dark
background: linear-gradient(to right, hsl(127, 16%, 25%), hsl(127, 16%, 5%))
hex
background-color: #364A38;
tailwind
bg-[hsl(127,16%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 16%, 25%, 0.4);
css variable
--color-primary: hsl(127, 16%, 25%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 16%, 25%)?
HEX: #364A38 | RGB: rgb(54, 74, 56) | CMYK: 27%, 0%, 24%, 71% | HSV: 126°, 27%, 29%. Copy any format from the conversion table above.
What colors go well with #364A38?
The complementary color is HSL(307, 16%, 25%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(127, 16%, 25%) in CSS?
As HSL: color: hsl(127, 16%, 25%); — As HEX: color: #364A38; — As RGB: color: rgb(54, 74, 56); — Tailwind CSS: bg-[hsl(127,16%,25%)] — CSS variable: --color-primary: hsl(127, 16%, 25%);