#cabf49
a balanced, vivid yellow · cool · closest name: khaki
RGB
202, 191, 73
HSL
55°, 55%, 54%
CMYK
0, 5, 64, 21
Luminance
0.5030
Every format
| HEX | #cabf49 |
| RGB | rgb(202, 191, 73) |
| HSL | hsl(55, 55%, 54%) |
| CMYK | cmyk(0%, 5%, 64%, 21%) |
| LAB | lab(76.3 -10.3 58.9) |
| LCH | lch(76.3 59.8 99.9) |
| OKLCH | oklch(0.792 0.138 104.0) |
Copy-ready code
/* CSS */
color: #cabf49;
background-color: #cabf49;
/* Tailwind (arbitrary) */
class="text-[#cabf49] bg-[#cabf49]"
/* SCSS */
$brand: #cabf49;
/* SwiftUI */
Color(red: 0.792, green: 0.749, blue: 0.286)
/* Android */
Color.parseColor("#cabf49")Accessibility — WCAG contrast
Aa
#cabf49 on white: 1.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cabf49 on black: 11.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.2%
Green74.9%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta5.4%
Yellow63.9%
Key (black)20.8%
Color previews
#cabf49 text on a black background
contrast 11.06:1
Card sample
#cabf49 text on a white background
contrast 1.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cabf49;
Background color
Panel with #cabf49 background
background-color: #cabf49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cabf49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(202, 191, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 191, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cabf49; background: linear-gradient(135deg, #cabf49, #7FCA49);