HSL(87, 40%, 75%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,40%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 40%, 75%) | color: hsl(87, 40%, 75%) | |
| HEX | #C2D9A6 | color: #C2D9A6 | |
| RGB | rgb(194, 217, 166) | color: rgb(194, 217, 166) | |
| CMYK | cmyk(11%, 0%, 24%, 15%) | — | |
| HSV | hsv(87, 24%, 85%) | — | |
| HWB | hwb(87 65% 15%) | color: hwb(87 65% 15%) | |
| OKLCH | oklch(0.8552 0.0727 127.61) | color: oklch(0.8552 0.0727 127.61) | |
| Lab | lab(83.89 -16.58 22.64) | color: lab(83.89 -16.58 22.64) | |
| LCH | lch(83.89 28.06 126.22) | color: lch(83.89 28.06 126.22) |
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)
#CCCCB2 — rgb(204, 204, 178)
Deuteranopia (Green-blind)
#CBC9B5 — rgb(203, 201, 181)
Tritanopia (Blue-blind)
#C3BCBE — rgb(195, 188, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 40%, 75%);
text
color: hsl(87, 40%, 75%);
border
border: 2px solid hsl(87, 40%, 75%);
gradient light
background: linear-gradient(to right, hsl(87, 40%, 95%), hsl(87, 40%, 75%));
gradient dark
background: linear-gradient(to right, hsl(87, 40%, 75%), hsl(87, 40%, 55%))
hex
background-color: #C2D9A6;
tailwind
bg-[hsl(87,40%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 40%, 75%, 0.4);
css variable
--color-primary: hsl(87, 40%, 75%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 40%, 75%)?
HEX: #C2D9A6 | RGB: rgb(194, 217, 166) | CMYK: 11%, 0%, 24%, 15% | HSV: 87°, 24%, 85%. Copy any format from the conversion table above.
What colors go well with #C2D9A6?
The complementary color is HSL(267, 40%, 75%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 40%, 75%) in CSS?
As HSL: color: hsl(87, 40%, 75%); — As HEX: color: #C2D9A6; — As RGB: color: rgb(194, 217, 166); — Tailwind CSS: bg-[hsl(87,40%,75%)] — CSS variable: --color-primary: hsl(87, 40%, 75%);