#dcf07c
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 | #dcf07c | |
| RGB | rgb(220 240 124) | |
| HSL | hsl(70.34 79.45% 71.37%) | |
| OKLCH | oklch(0.92 0.14 117.39) | |
| CMYK | cmyk(8.33% 0% 48.33% 5.88%) | |
| Android | #ffdcf07c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.25:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.79: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="#dcf07c"
Gradient stop
<stop stop-color="#dcf07c"/>
CSS variable + fill
:root { --c: #dcf07c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dcf07c; background-color: #dcf07c; bg-[#dcf07c]