HSL(98, 40%, 85%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(98,40%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(98, 40%, 85%) | color: hsl(98, 40%, 85%) | |
| HEX | #D5E8C9 | color: #D5E8C9 | |
| RGB | rgb(213, 232, 201) | color: rgb(213, 232, 201) | |
| CMYK | cmyk(8%, 0%, 13%, 9%) | — | |
| HSV | hsv(97, 13%, 91%) | — | |
| HWB | hwb(97 79% 9%) | color: hwb(97 79% 9%) | |
| OKLCH | oklch(0.9086 0.0461 133.21) | color: oklch(0.9086 0.0461 133.21) | |
| Lab | lab(89.89 -11.81 12.97) | color: lab(89.89 -11.81 12.97) | |
| LCH | lch(89.89 17.54 132.32) | color: lch(89.89 17.54 132.32) |
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)
#DDDDD1 — rgb(221, 221, 209)
Deuteranopia (Green-blind)
#DCDBD2 — rgb(220, 219, 210)
Tritanopia (Blue-blind)
#D6D6D8 — rgb(214, 214, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(98, 40%, 85%);
text
color: hsl(98, 40%, 85%);
border
border: 2px solid hsl(98, 40%, 85%);
gradient light
background: linear-gradient(to right, hsl(98, 40%, 100%), hsl(98, 40%, 85%));
gradient dark
background: linear-gradient(to right, hsl(98, 40%, 85%), hsl(98, 40%, 65%))
hex
background-color: #D5E8C9;
tailwind
bg-[hsl(98,40%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(98, 40%, 85%, 0.4);
css variable
--color-primary: hsl(98, 40%, 85%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(98, 40%, 85%)?
HEX: #D5E8C9 | RGB: rgb(213, 232, 201) | CMYK: 8%, 0%, 13%, 9% | HSV: 97°, 13%, 91%. Copy any format from the conversion table above.
What colors go well with #D5E8C9?
The complementary color is HSL(278, 40%, 85%). For a triadic harmony, use hues 98°, 218°, and 338°. For analogous combinations, try hues 68° and 128°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(98, 40%, 85%) in CSS?
As HSL: color: hsl(98, 40%, 85%); — As HEX: color: #D5E8C9; — As RGB: color: rgb(213, 232, 201); — Tailwind CSS: bg-[hsl(98,40%,85%)] — CSS variable: --color-primary: hsl(98, 40%, 85%);