HSL(123, 68%, 51%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(123,68%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(123, 68%, 51%) | color: hsl(123, 68%, 51%) | |
| HEX | #2DD736 | color: #2DD736 | |
| RGB | rgb(45, 215, 54) | color: rgb(45, 215, 54) | |
| CMYK | cmyk(79%, 0%, 75%, 16%) | — | |
| HSV | hsv(123, 79%, 84%) | — | |
| HWB | hwb(123 18% 16%) | color: hwb(123 18% 16%) | |
| OKLCH | oklch(0.7676 0.2382 143.33) | color: oklch(0.7676 0.2382 143.33) | |
| Lab | lab(75.71 -70.55 63.16) | color: lab(75.71 -70.55 63.16) | |
| LCH | lch(75.71 94.69 138.16) | color: lch(75.71 94.69 138.16) |
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)
#77785D — rgb(119, 120, 93)
Deuteranopia (Green-blind)
#6D6066 — rgb(109, 96, 102)
Tritanopia (Blue-blind)
#367C82 — rgb(54, 124, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(123, 68%, 51%);
text
color: hsl(123, 68%, 51%);
border
border: 2px solid hsl(123, 68%, 51%);
gradient light
background: linear-gradient(to right, hsl(123, 68%, 71%), hsl(123, 68%, 51%));
gradient dark
background: linear-gradient(to right, hsl(123, 68%, 51%), hsl(123, 68%, 31%))
hex
background-color: #2DD736;
tailwind
bg-[hsl(123,68%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(123, 68%, 51%, 0.4);
css variable
--color-primary: hsl(123, 68%, 51%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(123, 68%, 51%)?
HEX: #2DD736 | RGB: rgb(45, 215, 54) | CMYK: 79%, 0%, 75%, 16% | HSV: 123°, 79%, 84%. Copy any format from the conversion table above.
What colors go well with #2DD736?
The complementary color is HSL(303, 68%, 51%). For a triadic harmony, use hues 123°, 243°, and 3°. For analogous combinations, try hues 93° and 153°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(123, 68%, 51%) in CSS?
As HSL: color: hsl(123, 68%, 51%); — As HEX: color: #2DD736; — As RGB: color: rgb(45, 215, 54); — Tailwind CSS: bg-[hsl(123,68%,51%)] — CSS variable: --color-primary: hsl(123, 68%, 51%);