HSL(138, 28%, 78%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(138,28%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(138, 28%, 78%) | color: hsl(138, 28%, 78%) | |
| HEX | #B7D7C1 | color: #B7D7C1 | |
| RGB | rgb(183, 215, 193) | color: rgb(183, 215, 193) | |
| CMYK | cmyk(15%, 0%, 10%, 16%) | — | |
| HSV | hsv(139, 15%, 84%) | — | |
| HWB | hwb(139 71% 16%) | color: hwb(139 71% 16%) | |
| OKLCH | oklch(0.8496 0.0455 155.29) | color: oklch(0.8496 0.0455 155.29) | |
| Lab | lab(83.19 -14.82 7.33) | color: lab(83.19 -14.82 7.33) | |
| LCH | lch(83.19 16.53 153.68) | color: lch(83.19 16.53 153.68) |
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)
#C5C5C6 — rgb(197, 197, 198)
Deuteranopia (Green-blind)
#C3C1C8 — rgb(195, 193, 200)
Tritanopia (Blue-blind)
#B9CBCB — rgb(185, 203, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(138, 28%, 78%);
text
color: hsl(138, 28%, 78%);
border
border: 2px solid hsl(138, 28%, 78%);
gradient light
background: linear-gradient(to right, hsl(138, 28%, 98%), hsl(138, 28%, 78%));
gradient dark
background: linear-gradient(to right, hsl(138, 28%, 78%), hsl(138, 28%, 58%))
hex
background-color: #B7D7C1;
tailwind
bg-[hsl(138,28%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(138, 28%, 78%, 0.4);
css variable
--color-primary: hsl(138, 28%, 78%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(138, 28%, 78%)?
HEX: #B7D7C1 | RGB: rgb(183, 215, 193) | CMYK: 15%, 0%, 10%, 16% | HSV: 139°, 15%, 84%. Copy any format from the conversion table above.
What colors go well with #B7D7C1?
The complementary color is HSL(318, 28%, 78%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(138, 28%, 78%) in CSS?
As HSL: color: hsl(138, 28%, 78%); — As HEX: color: #B7D7C1; — As RGB: color: rgb(183, 215, 193); — Tailwind CSS: bg-[hsl(138,28%,78%)] — CSS variable: --color-primary: hsl(138, 28%, 78%);