#c7d347
a balanced, vivid yellow · cool · closest name: khaki
RGB
199, 211, 71
HSL
65°, 61%, 55%
CMYK
6, 0, 66, 17
Luminance
0.5919
Every format
| HEX | #c7d347 |
| RGB | rgb(199, 211, 71) |
| HSL | hsl(65, 61%, 55%) |
| CMYK | cmyk(6%, 0%, 66%, 17%) |
| LAB | lab(81.4 -21.7 65.0) |
| LCH | lch(81.4 68.5 108.4) |
| OKLCH | oklch(0.832 0.160 114.1) |
Copy-ready code
/* CSS */
color: #c7d347;
background-color: #c7d347;
/* Tailwind (arbitrary) */
class="text-[#c7d347] bg-[#c7d347]"
/* SCSS */
$brand: #c7d347;
/* SwiftUI */
Color(red: 0.780, green: 0.827, blue: 0.278)
/* Android */
Color.parseColor("#c7d347")Accessibility — WCAG contrast
Aa
#c7d347 on white: 1.64:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c7d347 on black: 12.84:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.0%
Green82.7%
Blue27.8%
CMYK percentages
Cyan5.7%
Magenta0.0%
Yellow66.4%
Key (black)17.3%
Color previews
#c7d347 text on a black background
contrast 12.84:1
Card sample
#c7d347 text on a white background
contrast 1.64:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c7d347;
Background color
Panel with #c7d347 background
background-color: #c7d347;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c7d347;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(199, 211, 71, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 211, 71, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7d347; background: linear-gradient(135deg, #c7d347, #6AD347);