HSL(98, 40%, 74%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(98,40%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(98, 40%, 74%) | color: hsl(98, 40%, 74%) | |
| HEX | #B6D7A2 | color: #B6D7A2 | |
| RGB | rgb(182, 215, 162) | color: rgb(182, 215, 162) | |
| CMYK | cmyk(15%, 0%, 25%, 16%) | — | |
| HSV | hsv(97, 25%, 84%) | — | |
| HWB | hwb(97 63% 16%) | color: hwb(97 63% 16%) | |
| OKLCH | oklch(0.8415 0.0798 133.89) | color: oklch(0.8415 0.0798 133.89) | |
| Lab | lab(82.46 -20.47 22.64) | color: lab(82.46 -20.47 22.64) | |
| LCH | lch(82.46 30.52 132.12) | color: lch(82.46 30.52 132.12) |
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)
#C4C5AF — rgb(196, 197, 175)
Deuteranopia (Green-blind)
#C2C0B2 — rgb(194, 192, 178)
Tritanopia (Blue-blind)
#B8B9BB — rgb(184, 185, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(98, 40%, 74%);
text
color: hsl(98, 40%, 74%);
border
border: 2px solid hsl(98, 40%, 74%);
gradient light
background: linear-gradient(to right, hsl(98, 40%, 94%), hsl(98, 40%, 74%));
gradient dark
background: linear-gradient(to right, hsl(98, 40%, 74%), hsl(98, 40%, 54%))
hex
background-color: #B6D7A2;
tailwind
bg-[hsl(98,40%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(98, 40%, 74%, 0.4);
css variable
--color-primary: hsl(98, 40%, 74%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(98, 40%, 74%)?
HEX: #B6D7A2 | RGB: rgb(182, 215, 162) | CMYK: 15%, 0%, 25%, 16% | HSV: 97°, 25%, 84%. Copy any format from the conversion table above.
What colors go well with #B6D7A2?
The complementary color is HSL(278, 40%, 74%). 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%, 74%) in CSS?
As HSL: color: hsl(98, 40%, 74%); — As HEX: color: #B6D7A2; — As RGB: color: rgb(182, 215, 162); — Tailwind CSS: bg-[hsl(98,40%,74%)] — CSS variable: --color-primary: hsl(98, 40%, 74%);