#cfba8b
a light, soft yellow · warm · closest name: tan
RGB
207, 186, 139
HSL
42°, 42%, 68%
CMYK
0, 10, 33, 19
Luminance
0.5025
Every format
| HEX | #cfba8b |
| RGB | rgb(207, 186, 139) |
| HSL | hsl(42, 42%, 68%) |
| CMYK | cmyk(0%, 10%, 33%, 19%) |
| LAB | lab(76.2 0.5 26.6) |
| LCH | lch(76.2 26.6 88.9) |
| OKLCH | oklch(0.795 0.067 86.7) |
Copy-ready code
/* CSS */
color: #cfba8b;
background-color: #cfba8b;
/* Tailwind (arbitrary) */
class="text-[#cfba8b] bg-[#cfba8b]"
/* SCSS */
$brand: #cfba8b;
/* SwiftUI */
Color(red: 0.812, green: 0.729, blue: 0.545)
/* Android */
Color.parseColor("#cfba8b")Accessibility — WCAG contrast
Aa
#cfba8b on white: 1.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfba8b on black: 11.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green72.9%
Blue54.5%
CMYK percentages
Cyan0.0%
Magenta10.1%
Yellow32.9%
Key (black)18.8%
Color previews
#cfba8b text on a black background
contrast 11.05:1
Card sample
#cfba8b text on a white background
contrast 1.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfba8b;
Background color
Panel with #cfba8b background
background-color: #cfba8b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfba8b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 186, 139, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 186, 139, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfba8b; background: linear-gradient(135deg, #cfba8b, #B7CF8B);