HSL(125, 63%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(125,63%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(125, 63%, 27%) | color: hsl(125, 63%, 27%) | |
| HEX | #197021 | color: #197021 | |
| RGB | rgb(25, 112, 33) | color: rgb(25, 112, 33) | |
| CMYK | cmyk(78%, 0%, 71%, 56%) | — | |
| HSV | hsv(126, 78%, 44%) | — | |
| HWB | hwb(126 10% 56%) | color: hwb(126 10% 56%) | |
| OKLCH | oklch(0.4781 0.1395 144.17) | color: oklch(0.4781 0.1395 144.17) | |
| Lab | lab(41.06 -41.82 35.43) | color: lab(41.06 -41.82 35.43) | |
| LCH | lch(41.06 54.81 139.73) | color: lch(41.06 54.81 139.73) |
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)
#3F3F34 — rgb(63, 63, 52)
Deuteranopia (Green-blind)
#3A3339 — rgb(58, 51, 57)
Tritanopia (Blue-blind)
#1D4347 — rgb(29, 67, 71)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(125, 63%, 27%);
text
color: hsl(125, 63%, 27%);
border
border: 2px solid hsl(125, 63%, 27%);
gradient light
background: linear-gradient(to right, hsl(125, 63%, 47%), hsl(125, 63%, 27%));
gradient dark
background: linear-gradient(to right, hsl(125, 63%, 27%), hsl(125, 63%, 7%))
hex
background-color: #197021;
tailwind
bg-[hsl(125,63%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(125, 63%, 27%, 0.4);
css variable
--color-primary: hsl(125, 63%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(125, 63%, 27%)?
HEX: #197021 | RGB: rgb(25, 112, 33) | CMYK: 78%, 0%, 71%, 56% | HSV: 126°, 78%, 44%. Copy any format from the conversion table above.
What colors go well with #197021?
The complementary color is HSL(305, 63%, 27%). 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, 63%, 27%) in CSS?
As HSL: color: hsl(125, 63%, 27%); — As HEX: color: #197021; — As RGB: color: rgb(25, 112, 33); — Tailwind CSS: bg-[hsl(125,63%,27%)] — CSS variable: --color-primary: hsl(125, 63%, 27%);