HSL(104, 40%, 85%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(104,40%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(104, 40%, 85%) | color: hsl(104, 40%, 85%) | |
| HEX | #D2E8C9 | color: #D2E8C9 | |
| RGB | rgb(210, 232, 201) | color: rgb(210, 232, 201) | |
| CMYK | cmyk(9%, 0%, 13%, 9%) | — | |
| HSV | hsv(103, 13%, 91%) | — | |
| HWB | hwb(103 79% 9%) | color: hwb(103 79% 9%) | |
| OKLCH | oklch(0.9064 0.0476 136.54) | color: oklch(0.9064 0.0476 136.54) | |
| Lab | lab(89.69 -12.84 12.64) | color: lab(89.69 -12.84 12.64) | |
| LCH | lch(89.69 18.02 135.45) | color: lch(89.69 18.02 135.45) |
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)
#DAD9D2 — rgb(218, 217, 210)
Tritanopia (Blue-blind)
#D3D6D8 — rgb(211, 214, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(104, 40%, 85%);
text
color: hsl(104, 40%, 85%);
border
border: 2px solid hsl(104, 40%, 85%);
gradient light
background: linear-gradient(to right, hsl(104, 40%, 100%), hsl(104, 40%, 85%));
gradient dark
background: linear-gradient(to right, hsl(104, 40%, 85%), hsl(104, 40%, 65%))
hex
background-color: #D2E8C9;
tailwind
bg-[hsl(104,40%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(104, 40%, 85%, 0.4);
css variable
--color-primary: hsl(104, 40%, 85%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(104, 40%, 85%)?
HEX: #D2E8C9 | RGB: rgb(210, 232, 201) | CMYK: 9%, 0%, 13%, 9% | HSV: 103°, 13%, 91%. Copy any format from the conversion table above.
What colors go well with #D2E8C9?
The complementary color is HSL(284, 40%, 85%). For a triadic harmony, use hues 104°, 224°, and 344°. For analogous combinations, try hues 74° and 134°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(104, 40%, 85%) in CSS?
As HSL: color: hsl(104, 40%, 85%); — As HEX: color: #D2E8C9; — As RGB: color: rgb(210, 232, 201); — Tailwind CSS: bg-[hsl(104,40%,85%)] — CSS variable: --color-primary: hsl(104, 40%, 85%);