HSL(102, 40%, 85%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,40%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 40%, 85%) | color: hsl(102, 40%, 85%) | |
| HEX | #D3E8C9 | color: #D3E8C9 | |
| RGB | rgb(211, 232, 201) | color: rgb(211, 232, 201) | |
| CMYK | cmyk(9%, 0%, 13%, 9%) | — | |
| HSV | hsv(101, 13%, 91%) | — | |
| HWB | hwb(101 79% 9%) | color: hwb(101 79% 9%) | |
| OKLCH | oklch(0.9071 0.0471 135.46) | color: oklch(0.9071 0.0471 135.46) | |
| Lab | lab(89.76 -12.5 12.75) | color: lab(89.76 -12.5 12.75) | |
| LCH | lch(89.76 17.86 134.43) | color: lch(89.76 17.86 134.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)
#DCDCD1 — rgb(220, 220, 209)
Deuteranopia (Green-blind)
#DBD9D2 — rgb(219, 217, 210)
Tritanopia (Blue-blind)
#D4D6D8 — rgb(212, 214, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 40%, 85%);
text
color: hsl(102, 40%, 85%);
border
border: 2px solid hsl(102, 40%, 85%);
gradient light
background: linear-gradient(to right, hsl(102, 40%, 100%), hsl(102, 40%, 85%));
gradient dark
background: linear-gradient(to right, hsl(102, 40%, 85%), hsl(102, 40%, 65%))
hex
background-color: #D3E8C9;
tailwind
bg-[hsl(102,40%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 40%, 85%, 0.4);
css variable
--color-primary: hsl(102, 40%, 85%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 40%, 85%)?
HEX: #D3E8C9 | RGB: rgb(211, 232, 201) | CMYK: 9%, 0%, 13%, 9% | HSV: 101°, 13%, 91%. Copy any format from the conversion table above.
What colors go well with #D3E8C9?
The complementary color is HSL(282, 40%, 85%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 40%, 85%) in CSS?
As HSL: color: hsl(102, 40%, 85%); — As HEX: color: #D3E8C9; — As RGB: color: rgb(211, 232, 201); — Tailwind CSS: bg-[hsl(102,40%,85%)] — CSS variable: --color-primary: hsl(102, 40%, 85%);