#c8cd65
a balanced, vivid yellow · cool · closest name: khaki
RGB
200, 205, 101
HSL
63°, 51%, 60%
CMYK
2, 0, 51, 20
Luminance
0.5688
Every format
| HEX | #c8cd65 |
| RGB | rgb(200, 205, 101) |
| HSL | hsl(63, 51%, 60%) |
| CMYK | cmyk(2%, 0%, 51%, 20%) |
| LAB | lab(80.1 -16.1 50.6) |
| LCH | lch(80.1 53.1 107.7) |
| OKLCH | oklch(0.823 0.128 111.4) |
Copy-ready code
/* CSS */
color: #c8cd65;
background-color: #c8cd65;
/* Tailwind (arbitrary) */
class="text-[#c8cd65] bg-[#c8cd65]"
/* SCSS */
$brand: #c8cd65;
/* SwiftUI */
Color(red: 0.784, green: 0.804, blue: 0.396)
/* Android */
Color.parseColor("#c8cd65")Accessibility — WCAG contrast
Aa
#c8cd65 on white: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c8cd65 on black: 12.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.4%
Green80.4%
Blue39.6%
CMYK percentages
Cyan2.4%
Magenta0.0%
Yellow50.7%
Key (black)19.6%
Color previews
#c8cd65 text on a black background
contrast 12.38:1
Card sample
#c8cd65 text on a white background
contrast 1.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c8cd65;
Background color
Panel with #c8cd65 background
background-color: #c8cd65;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c8cd65;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(200, 205, 101, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(200, 205, 101, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c8cd65; background: linear-gradient(135deg, #c8cd65, #83CD65);