#c9db39
a balanced, vivid yellow · cool · closest name: yellow
RGB
201, 219, 57
HSL
67°, 69%, 54%
CMYK
8, 0, 74, 14
Luminance
0.6338
Every format
| HEX | #c9db39 |
| RGB | rgb(201, 219, 57) |
| HSL | hsl(67, 69%, 54%) |
| CMYK | cmyk(8%, 0%, 74%, 14%) |
| LAB | lab(83.6 -25.4 72.2) |
| LCH | lch(83.6 76.5 109.4) |
| OKLCH | oklch(0.850 0.177 115.9) |
Copy-ready code
/* CSS */
color: #c9db39;
background-color: #c9db39;
/* Tailwind (arbitrary) */
class="text-[#c9db39] bg-[#c9db39]"
/* SCSS */
$brand: #c9db39;
/* SwiftUI */
Color(red: 0.788, green: 0.859, blue: 0.224)
/* Android */
Color.parseColor("#c9db39")Accessibility — WCAG contrast
Aa
#c9db39 on white: 1.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c9db39 on black: 13.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.8%
Green85.9%
Blue22.4%
CMYK percentages
Cyan8.2%
Magenta0.0%
Yellow74.0%
Key (black)14.1%
Color previews
#c9db39 text on a black background
contrast 13.68:1
Card sample
#c9db39 text on a white background
contrast 1.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c9db39;
Background color
Panel with #c9db39 background
background-color: #c9db39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c9db39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(201, 219, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 219, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c9db39; background: linear-gradient(135deg, #c9db39, #5DDB39);