HSL(75, 72%, 51%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(75,72%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(75, 72%, 51%) | color: hsl(75, 72%, 51%) | |
| HEX | #AFDC28 | color: #AFDC28 | |
| RGB | rgb(175, 220, 40) | color: rgb(175, 220, 40) | |
| CMYK | cmyk(20%, 0%, 82%, 14%) | — | |
| HSV | hsv(75, 82%, 86%) | — | |
| HWB | hwb(75 15% 14%) | color: hwb(75 15% 14%) | |
| OKLCH | oklch(0.833 0.1959 123.73) | color: oklch(0.833 0.1959 123.73) | |
| Lab | lab(82.08 -37 74.91) | color: lab(82.08 -37 74.91) | |
| LCH | lch(82.08 83.55 116.29) | color: lch(82.08 83.55 116.29) |
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)
#C2C354 — rgb(194, 195, 84)
Deuteranopia (Green-blind)
#C0BD5E — rgb(192, 189, 94)
Tritanopia (Blue-blind)
#B1767E — rgb(177, 118, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(75, 72%, 51%);
text
color: hsl(75, 72%, 51%);
border
border: 2px solid hsl(75, 72%, 51%);
gradient light
background: linear-gradient(to right, hsl(75, 72%, 71%), hsl(75, 72%, 51%));
gradient dark
background: linear-gradient(to right, hsl(75, 72%, 51%), hsl(75, 72%, 31%))
hex
background-color: #AFDC28;
tailwind
bg-[hsl(75,72%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(75, 72%, 51%, 0.4);
css variable
--color-primary: hsl(75, 72%, 51%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(75, 72%, 51%)?
HEX: #AFDC28 | RGB: rgb(175, 220, 40) | CMYK: 20%, 0%, 82%, 14% | HSV: 75°, 82%, 86%. Copy any format from the conversion table above.
What colors go well with #AFDC28?
The complementary color is HSL(255, 72%, 51%). For a triadic harmony, use hues 75°, 195°, and 315°. For analogous combinations, try hues 45° and 105°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(75, 72%, 51%) in CSS?
As HSL: color: hsl(75, 72%, 51%); — As HEX: color: #AFDC28; — As RGB: color: rgb(175, 220, 40); — Tailwind CSS: bg-[hsl(75,72%,51%)] — CSS variable: --color-primary: hsl(75, 72%, 51%);