#cdc28b
a light, soft yellow · cool · closest name: tan
RGB
205, 194, 139
HSL
50°, 40%, 68%
CMYK
0, 5, 32, 20
Luminance
0.5343
Every format
| HEX | #cdc28b |
| RGB | rgb(205, 194, 139) |
| HSL | hsl(50, 40%, 68%) |
| CMYK | cmyk(0%, 5%, 32%, 20%) |
| LAB | lab(78.1 -4.5 29.1) |
| LCH | lch(78.1 29.4 98.7) |
| OKLCH | oklch(0.810 0.073 98.2) |
Copy-ready code
/* CSS */
color: #cdc28b;
background-color: #cdc28b;
/* Tailwind (arbitrary) */
class="text-[#cdc28b] bg-[#cdc28b]"
/* SCSS */
$brand: #cdc28b;
/* SwiftUI */
Color(red: 0.804, green: 0.761, blue: 0.545)
/* Android */
Color.parseColor("#cdc28b")Accessibility — WCAG contrast
Aa
#cdc28b on white: 1.80:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdc28b on black: 11.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green76.1%
Blue54.5%
CMYK percentages
Cyan0.0%
Magenta5.4%
Yellow32.2%
Key (black)19.6%
Color previews
#cdc28b text on a black background
contrast 11.69:1
Card sample
#cdc28b text on a white background
contrast 1.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdc28b;
Background color
Panel with #cdc28b background
background-color: #cdc28b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdc28b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 194, 139, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 194, 139, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdc28b; background: linear-gradient(135deg, #cdc28b, #ACCD8B);