#ddb797
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 | #ddb797 | |
| RGB | rgb(221 183 151) | |
| HSL | hsl(27.43 50.72% 72.94%) | |
| OKLCH | oklch(0.8 0.06 61.87) | |
| CMYK | cmyk(0% 17.19% 31.67% 13.33%) | |
| Android | #ffddb797 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.85:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.29: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="#ddb797"
Gradient stop
<stop stop-color="#ddb797"/>
CSS variable + fill
:root { --c: #ddb797; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ddb797; background-color: #ddb797; bg-[#ddb797]