#cfc08c
a light, soft yellow · cool · closest name: tan
RGB
207, 192, 140
HSL
47°, 41%, 68%
CMYK
0, 7, 32, 19
Luminance
0.5286
Every format
| HEX | #cfc08c |
| RGB | rgb(207, 192, 140) |
| HSL | hsl(47, 41%, 68%) |
| CMYK | cmyk(0%, 7%, 32%, 19%) |
| LAB | lab(77.8 -2.5 28.2) |
| LCH | lch(77.8 28.3 95.1) |
| OKLCH | oklch(0.808 0.071 93.9) |
Copy-ready code
/* CSS */
color: #cfc08c;
background-color: #cfc08c;
/* Tailwind (arbitrary) */
class="text-[#cfc08c] bg-[#cfc08c]"
/* SCSS */
$brand: #cfc08c;
/* SwiftUI */
Color(red: 0.812, green: 0.753, blue: 0.549)
/* Android */
Color.parseColor("#cfc08c")Accessibility — WCAG contrast
Aa
#cfc08c on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfc08c on black: 11.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green75.3%
Blue54.9%
CMYK percentages
Cyan0.0%
Magenta7.2%
Yellow32.4%
Key (black)18.8%
Color previews
#cfc08c text on a black background
contrast 11.57:1
Card sample
#cfc08c text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfc08c;
Background color
Panel with #cfc08c background
background-color: #cfc08c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfc08c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 192, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 192, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfc08c; background: linear-gradient(135deg, #cfc08c, #B1CF8C);