#cfb849
a balanced, vivid yellow · cool · closest name: khaki
RGB
207, 184, 73
HSL
50°, 58%, 55%
CMYK
0, 11, 65, 19
Luminance
0.4803
Every format
| HEX | #cfb849 |
| RGB | rgb(207, 184, 73) |
| HSL | hsl(50, 58%, 55%) |
| CMYK | cmyk(0%, 11%, 65%, 19%) |
| LAB | lab(74.8 -4.5 57.5) |
| LCH | lch(74.8 57.7 94.5) |
| OKLCH | oklch(0.782 0.132 97.5) |
Copy-ready code
/* CSS */
color: #cfb849;
background-color: #cfb849;
/* Tailwind (arbitrary) */
class="text-[#cfb849] bg-[#cfb849]"
/* SCSS */
$brand: #cfb849;
/* SwiftUI */
Color(red: 0.812, green: 0.722, blue: 0.286)
/* Android */
Color.parseColor("#cfb849")Accessibility — WCAG contrast
Aa
#cfb849 on white: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfb849 on black: 10.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green72.2%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta11.1%
Yellow64.7%
Key (black)18.8%
Color previews
#cfb849 text on a black background
contrast 10.61:1
Card sample
#cfb849 text on a white background
contrast 1.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfb849;
Background color
Panel with #cfb849 background
background-color: #cfb849;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfb849;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 184, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 184, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfb849; background: linear-gradient(135deg, #cfb849, #8DCF49);