HSL(125, 63%, 35%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(125,63%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(125, 63%, 35%) | color: hsl(125, 63%, 35%) | |
| HEX | #21912A | color: #21912A | |
| RGB | rgb(33, 145, 42) | color: rgb(33, 145, 42) | |
| CMYK | cmyk(77%, 0%, 71%, 43%) | — | |
| HSV | hsv(125, 77%, 57%) | — | |
| HWB | hwb(125 13% 43%) | color: hwb(125 13% 43%) | |
| OKLCH | oklch(0.5751 0.171 143.9) | color: oklch(0.5751 0.171 143.9) | |
| Lab | lab(52.66 -51.06 43.99) | color: lab(52.66 -51.06 43.99) | |
| LCH | lch(52.66 67.4 139.25) | color: lch(52.66 67.4 139.25) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#515343 — rgb(81, 83, 67)
Deuteranopia (Green-blind)
#4B4349 — rgb(75, 67, 73)
Tritanopia (Blue-blind)
#27575B — rgb(39, 87, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(125, 63%, 35%);
text
color: hsl(125, 63%, 35%);
border
border: 2px solid hsl(125, 63%, 35%);
gradient light
background: linear-gradient(to right, hsl(125, 63%, 55%), hsl(125, 63%, 35%));
gradient dark
background: linear-gradient(to right, hsl(125, 63%, 35%), hsl(125, 63%, 15%))
hex
background-color: #21912A;
tailwind
bg-[hsl(125,63%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(125, 63%, 35%, 0.4);
css variable
--color-primary: hsl(125, 63%, 35%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(125, 63%, 35%)?
HEX: #21912A | RGB: rgb(33, 145, 42) | CMYK: 77%, 0%, 71%, 43% | HSV: 125°, 77%, 57%. Copy any format from the conversion table above.
What colors go well with #21912A?
The complementary color is HSL(305, 63%, 35%). 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%, 35%) in CSS?
As HSL: color: hsl(125, 63%, 35%); — As HEX: color: #21912A; — As RGB: color: rgb(33, 145, 42); — Tailwind CSS: bg-[hsl(125,63%,35%)] — CSS variable: --color-primary: hsl(125, 63%, 35%);