HSL(123, 75%, 38%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(123,75%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(123, 75%, 38%) | color: hsl(123, 75%, 38%) | |
| HEX | #18AA1F | color: #18AA1F | |
| RGB | rgb(24, 170, 31) | color: rgb(24, 170, 31) | |
| CMYK | cmyk(86%, 0%, 82%, 33%) | — | |
| HSV | hsv(123, 86%, 67%) | — | |
| HWB | hwb(123 9% 33%) | color: hwb(123 9% 33%) | |
| OKLCH | oklch(0.6424 0.2065 143.07) | color: oklch(0.6424 0.2065 143.07) | |
| Lab | lab(60.82 -60.92 55.87) | color: lab(60.82 -60.92 55.87) | |
| LCH | lch(60.82 82.66 137.48) | color: lch(60.82 82.66 137.48) |
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)
#575941 — rgb(87, 89, 65)
Deuteranopia (Green-blind)
#4F4449 — rgb(79, 68, 73)
Tritanopia (Blue-blind)
#1F5B61 — rgb(31, 91, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(123, 75%, 38%);
text
color: hsl(123, 75%, 38%);
border
border: 2px solid hsl(123, 75%, 38%);
gradient light
background: linear-gradient(to right, hsl(123, 75%, 58%), hsl(123, 75%, 38%));
gradient dark
background: linear-gradient(to right, hsl(123, 75%, 38%), hsl(123, 75%, 18%))
hex
background-color: #18AA1F;
tailwind
bg-[hsl(123,75%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(123, 75%, 38%, 0.4);
css variable
--color-primary: hsl(123, 75%, 38%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(123, 75%, 38%)?
HEX: #18AA1F | RGB: rgb(24, 170, 31) | CMYK: 86%, 0%, 82%, 33% | HSV: 123°, 86%, 67%. Copy any format from the conversion table above.
What colors go well with #18AA1F?
The complementary color is HSL(303, 75%, 38%). 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, 75%, 38%) in CSS?
As HSL: color: hsl(123, 75%, 38%); — As HEX: color: #18AA1F; — As RGB: color: rgb(24, 170, 31); — Tailwind CSS: bg-[hsl(123,75%,38%)] — CSS variable: --color-primary: hsl(123, 75%, 38%);