#cdcfb8
a light, soft yellow · cool · closest name: silver
RGB
205, 207, 184
HSL
65°, 19%, 77%
CMYK
1, 0, 11, 19
Luminance
0.6107
Every format
| HEX | #cdcfb8 |
| RGB | rgb(205, 207, 184) |
| HSL | hsl(65, 19%, 77%) |
| CMYK | cmyk(1%, 0%, 11%, 19%) |
| LAB | lab(82.4 -4.7 11.2) |
| LCH | lch(82.4 12.2 112.7) |
| OKLCH | oklch(0.847 0.031 111.1) |
Copy-ready code
/* CSS */
color: #cdcfb8;
background-color: #cdcfb8;
/* Tailwind (arbitrary) */
class="text-[#cdcfb8] bg-[#cdcfb8]"
/* SCSS */
$brand: #cdcfb8;
/* SwiftUI */
Color(red: 0.804, green: 0.812, blue: 0.722)
/* Android */
Color.parseColor("#cdcfb8")Accessibility — WCAG contrast
Aa
#cdcfb8 on white: 1.59:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdcfb8 on black: 13.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green81.2%
Blue72.2%
CMYK percentages
Cyan1.0%
Magenta0.0%
Yellow11.1%
Key (black)18.8%
Color previews
#cdcfb8 text on a black background
contrast 13.21:1
Card sample
#cdcfb8 text on a white background
contrast 1.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdcfb8;
Background color
Panel with #cdcfb8 background
background-color: #cdcfb8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdcfb8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 207, 184, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 207, 184, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdcfb8; background: linear-gradient(135deg, #cdcfb8, #BECFB8);