#c8d97e
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #c8d97e | |
| RGB | rgb(200 217 126) | |
| HSL | hsl(71.21 54.49% 67.25%) | |
| OKLCH | oklch(0.85 0.12 117.62) | |
| CMYK | cmyk(7.83% 0% 41.94% 14.9%) | |
| Android | #ffc8d97e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.53:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.68:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#c8d97e"
Gradient stop
<stop stop-color="#c8d97e"/>
CSS variable + fill
:root { --c: #c8d97e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c8d97e; background-color: #c8d97e; bg-[#c8d97e]