HSL(78, 28%, 78%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(78,28%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(78, 28%, 78%) | color: hsl(78, 28%, 78%) | |
| HEX | #CDD7B7 | color: #CDD7B7 | |
| RGB | rgb(205, 215, 183) | color: rgb(205, 215, 183) | |
| CMYK | cmyk(5%, 0%, 15%, 16%) | — | |
| HSV | hsv(79, 15%, 84%) | — | |
| HWB | hwb(79 71% 16%) | color: hwb(79 71% 16%) | |
| OKLCH | oklch(0.863 0.0444 121.45) | color: oklch(0.863 0.0444 121.45) | |
| Lab | lab(84.48 -8.96 14.66) | color: lab(84.48 -8.96 14.66) | |
| LCH | lch(84.48 17.18 121.43) | color: lch(84.48 17.18 121.43) |
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)
#D1D1BF — rgb(209, 209, 191)
Deuteranopia (Green-blind)
#D1D0C1 — rgb(209, 208, 193)
Tritanopia (Blue-blind)
#CEC5C6 — rgb(206, 197, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(78, 28%, 78%);
text
color: hsl(78, 28%, 78%);
border
border: 2px solid hsl(78, 28%, 78%);
gradient light
background: linear-gradient(to right, hsl(78, 28%, 98%), hsl(78, 28%, 78%));
gradient dark
background: linear-gradient(to right, hsl(78, 28%, 78%), hsl(78, 28%, 58%))
hex
background-color: #CDD7B7;
tailwind
bg-[hsl(78,28%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(78, 28%, 78%, 0.4);
css variable
--color-primary: hsl(78, 28%, 78%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(78, 28%, 78%)?
HEX: #CDD7B7 | RGB: rgb(205, 215, 183) | CMYK: 5%, 0%, 15%, 16% | HSV: 79°, 15%, 84%. Copy any format from the conversion table above.
What colors go well with #CDD7B7?
The complementary color is HSL(258, 28%, 78%). For a triadic harmony, use hues 78°, 198°, and 318°. For analogous combinations, try hues 48° and 108°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(78, 28%, 78%) in CSS?
As HSL: color: hsl(78, 28%, 78%); — As HEX: color: #CDD7B7; — As RGB: color: rgb(205, 215, 183); — Tailwind CSS: bg-[hsl(78,28%,78%)] — CSS variable: --color-primary: hsl(78, 28%, 78%);