#c8d97b
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 | #c8d97b | |
| RGB | rgb(200 217 123) | |
| HSL | hsl(70.85 55.29% 66.67%) | |
| OKLCH | oklch(0.85 0.12 117.44) | |
| CMYK | cmyk(7.83% 0% 43.32% 14.9%) | |
| Android | #ffc8d97b |
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.66: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="#c8d97b"
Gradient stop
<stop stop-color="#c8d97b"/>
CSS variable + fill
:root { --c: #c8d97b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c8d97b; background-color: #c8d97b; bg-[#c8d97b]