#dfe162
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 | #dfe162 | |
| RGB | rgb(223 225 98) | |
| HSL | hsl(60.94 67.91% 63.33%) | |
| OKLCH | oklch(0.88 0.15 109.93) | |
| CMYK | cmyk(0.89% 0% 56.44% 11.76%) | |
| Android | #ffdfe162 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.39:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.08: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="#dfe162"
Gradient stop
<stop stop-color="#dfe162"/>
CSS variable + fill
:root { --c: #dfe162; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dfe162; background-color: #dfe162; bg-[#dfe162]