HSL(87, 45%, 74%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,45%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 45%, 74%) | color: hsl(87, 45%, 74%) | |
| HEX | #C0DB9F | color: #C0DB9F | |
| RGB | rgb(192, 219, 159) | color: rgb(192, 219, 159) | |
| CMYK | cmyk(12%, 0%, 27%, 14%) | — | |
| HSV | hsv(87, 27%, 86%) | — | |
| HWB | hwb(87 63% 14%) | color: hwb(87 63% 14%) | |
| OKLCH | oklch(0.8566 0.085 127.78) | color: oklch(0.8566 0.085 127.78) | |
| Lab | lab(84.16 -19.33 26.63) | color: lab(84.16 -19.33 26.63) | |
| LCH | lch(84.16 32.91 125.97) | color: lch(84.16 32.91 125.97) |
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)
#CCCCAE — rgb(204, 204, 174)
Deuteranopia (Green-blind)
#CAC8B1 — rgb(202, 200, 177)
Tritanopia (Blue-blind)
#C1B9BC — rgb(193, 185, 188)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 45%, 74%);
text
color: hsl(87, 45%, 74%);
border
border: 2px solid hsl(87, 45%, 74%);
gradient light
background: linear-gradient(to right, hsl(87, 45%, 94%), hsl(87, 45%, 74%));
gradient dark
background: linear-gradient(to right, hsl(87, 45%, 74%), hsl(87, 45%, 54%))
hex
background-color: #C0DB9F;
tailwind
bg-[hsl(87,45%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 45%, 74%, 0.4);
css variable
--color-primary: hsl(87, 45%, 74%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 45%, 74%)?
HEX: #C0DB9F | RGB: rgb(192, 219, 159) | CMYK: 12%, 0%, 27%, 14% | HSV: 87°, 27%, 86%. Copy any format from the conversion table above.
What colors go well with #C0DB9F?
The complementary color is HSL(267, 45%, 74%). 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, 45%, 74%) in CSS?
As HSL: color: hsl(87, 45%, 74%); — As HEX: color: #C0DB9F; — As RGB: color: rgb(192, 219, 159); — Tailwind CSS: bg-[hsl(87,45%,74%)] — CSS variable: --color-primary: hsl(87, 45%, 74%);