#cdcf8b
a light, soft yellow · cool · closest name: khaki
RGB
205, 207, 139
HSL
62°, 42%, 68%
CMYK
1, 0, 33, 19
Luminance
0.5947
Every format
| HEX | #cdcf8b |
| RGB | rgb(205, 207, 139) |
| HSL | hsl(62, 42%, 68%) |
| CMYK | cmyk(1%, 0%, 33%, 19%) |
| LAB | lab(81.5 -11.1 33.6) |
| LCH | lch(81.5 35.4 108.3) |
| OKLCH | oklch(0.837 0.088 109.6) |
Copy-ready code
/* CSS */
color: #cdcf8b;
background-color: #cdcf8b;
/* Tailwind (arbitrary) */
class="text-[#cdcf8b] bg-[#cdcf8b]"
/* SCSS */
$brand: #cdcf8b;
/* SwiftUI */
Color(red: 0.804, green: 0.812, blue: 0.545)
/* Android */
Color.parseColor("#cdcf8b")Accessibility — WCAG contrast
Aa
#cdcf8b on white: 1.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdcf8b on black: 12.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green81.2%
Blue54.5%
CMYK percentages
Cyan1.0%
Magenta0.0%
Yellow32.9%
Key (black)18.8%
Color previews
#cdcf8b text on a black background
contrast 12.89:1
Card sample
#cdcf8b text on a white background
contrast 1.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdcf8b;
Background color
Panel with #cdcf8b background
background-color: #cdcf8b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdcf8b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 207, 139, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 207, 139, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdcf8b; background: linear-gradient(135deg, #cdcf8b, #9FCF8B);