#c2d175
a balanced, vivid yellow · cool · closest name: khaki
RGB
194, 209, 117
HSL
70°, 50%, 64%
CMYK
7, 0, 44, 18
Luminance
0.5835
Every format
| HEX | #c2d175 |
| RGB | rgb(194, 209, 117) |
| HSL | hsl(70, 50%, 64%) |
| CMYK | cmyk(7%, 0%, 44%, 18%) |
| LAB | lab(80.9 -18.9 43.8) |
| LCH | lch(80.9 47.7 113.4) |
| OKLCH | oklch(0.829 0.118 116.6) |
Copy-ready code
/* CSS */
color: #c2d175;
background-color: #c2d175;
/* Tailwind (arbitrary) */
class="text-[#c2d175] bg-[#c2d175]"
/* SCSS */
$brand: #c2d175;
/* SwiftUI */
Color(red: 0.761, green: 0.820, blue: 0.459)
/* Android */
Color.parseColor("#c2d175")Accessibility — WCAG contrast
Aa
#c2d175 on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2d175 on black: 12.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green82.0%
Blue45.9%
CMYK percentages
Cyan7.2%
Magenta0.0%
Yellow44.0%
Key (black)18.0%
Color previews
#c2d175 text on a black background
contrast 12.67:1
Card sample
#c2d175 text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2d175;
Background color
Panel with #c2d175 background
background-color: #c2d175;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2d175;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 209, 117, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 209, 117, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2d175; background: linear-gradient(135deg, #c2d175, #85D175);