#c8db49
a balanced, vivid yellow · cool · closest name: khaki
RGB
200, 219, 73
HSL
68°, 67%, 57%
CMYK
9, 0, 67, 14
Luminance
0.6342
Every format
| HEX | #c8db49 |
| RGB | rgb(200, 219, 73) |
| HSL | hsl(68, 67%, 57%) |
| CMYK | cmyk(9%, 0%, 67%, 14%) |
| LAB | lab(83.7 -25.0 66.5) |
| LCH | lch(83.7 71.1 110.6) |
| OKLCH | oklch(0.851 0.167 116.5) |
Copy-ready code
/* CSS */
color: #c8db49;
background-color: #c8db49;
/* Tailwind (arbitrary) */
class="text-[#c8db49] bg-[#c8db49]"
/* SCSS */
$brand: #c8db49;
/* SwiftUI */
Color(red: 0.784, green: 0.859, blue: 0.286)
/* Android */
Color.parseColor("#c8db49")Accessibility — WCAG contrast
Aa
#c8db49 on white: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c8db49 on black: 13.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.4%
Green85.9%
Blue28.6%
CMYK percentages
Cyan8.7%
Magenta0.0%
Yellow66.7%
Key (black)14.1%
Color previews
#c8db49 text on a black background
contrast 13.68:1
Card sample
#c8db49 text on a white background
contrast 1.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c8db49;
Background color
Panel with #c8db49 background
background-color: #c8db49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c8db49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(200, 219, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(200, 219, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c8db49; background: linear-gradient(135deg, #c8db49, #67DB49);