#cfd370
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 | #cfd370 | |
| RGB | rgb(207 211 112) | |
| HSL | hsl(62.42 52.94% 63.33%) | |
| OKLCH | oklch(0.84 0.12 110.81) | |
| CMYK | cmyk(1.9% 0% 46.92% 17.25%) | |
| Android | #ffcfd370 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.59:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.20: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="#cfd370"
Gradient stop
<stop stop-color="#cfd370"/>
CSS variable + fill
:root { --c: #cfd370; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cfd370; background-color: #cfd370; bg-[#cfd370]