HSL(125, 30%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(125,30%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(125, 30%, 15%) | color: hsl(125, 30%, 15%) | |
| HEX | #1B321D | color: #1B321D | |
| RGB | rgb(27, 50, 29) | color: rgb(27, 50, 29) | |
| CMYK | cmyk(46%, 0%, 42%, 80%) | — | |
| HSV | hsv(125, 46%, 20%) | — | |
| HWB | hwb(125 11% 80%) | color: hwb(125 11% 80%) | |
| OKLCH | oklch(0.2913 0.0477 146.22) | color: oklch(0.2913 0.0477 146.22) | |
| Lab | lab(18.38 -14.55 10.6) | color: lab(18.38 -14.55 10.6) | |
| LCH | lch(18.38 18 143.93) | color: lch(18.38 18 143.93) |
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)
#252522 — rgb(37, 37, 34)
Deuteranopia (Green-blind)
#242223 — rgb(36, 34, 35)
Tritanopia (Blue-blind)
#1C2627 — rgb(28, 38, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(125, 30%, 15%);
text
color: hsl(125, 30%, 15%);
border
border: 2px solid hsl(125, 30%, 15%);
gradient light
background: linear-gradient(to right, hsl(125, 30%, 35%), hsl(125, 30%, 15%));
gradient dark
background: linear-gradient(to right, hsl(125, 30%, 15%), hsl(125, 30%, 0%))
hex
background-color: #1B321D;
tailwind
bg-[hsl(125,30%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(125, 30%, 15%, 0.4);
css variable
--color-primary: hsl(125, 30%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(125, 30%, 15%)?
HEX: #1B321D | RGB: rgb(27, 50, 29) | CMYK: 46%, 0%, 42%, 80% | HSV: 125°, 46%, 20%. Copy any format from the conversion table above.
What colors go well with #1B321D?
The complementary color is HSL(305, 30%, 15%). For a triadic harmony, use hues 125°, 245°, and 5°. For analogous combinations, try hues 95° and 155°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(125, 30%, 15%) in CSS?
As HSL: color: hsl(125, 30%, 15%); — As HEX: color: #1B321D; — As RGB: color: rgb(27, 50, 29); — Tailwind CSS: bg-[hsl(125,30%,15%)] — CSS variable: --color-primary: hsl(125, 30%, 15%);