#cfcc3f
a balanced, vivid yellow · cool · closest name: khaki
RGB
207, 204, 63
HSL
59°, 60%, 53%
CMYK
0, 1, 70, 19
Luminance
0.5681
Every format
| HEX | #cfcc3f |
| RGB | rgb(207, 204, 63) |
| HSL | hsl(59, 60%, 53%) |
| CMYK | cmyk(0%, 1%, 70%, 19%) |
| LAB | lab(80.1 -15.3 66.8) |
| LCH | lch(80.1 68.6 102.9) |
| OKLCH | oklch(0.823 0.156 108.2) |
Copy-ready code
/* CSS */
color: #cfcc3f;
background-color: #cfcc3f;
/* Tailwind (arbitrary) */
class="text-[#cfcc3f] bg-[#cfcc3f]"
/* SCSS */
$brand: #cfcc3f;
/* SwiftUI */
Color(red: 0.812, green: 0.800, blue: 0.247)
/* Android */
Color.parseColor("#cfcc3f")Accessibility — WCAG contrast
Aa
#cfcc3f on white: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfcc3f on black: 12.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green80.0%
Blue24.7%
CMYK percentages
Cyan0.0%
Magenta1.4%
Yellow69.6%
Key (black)18.8%
Color previews
#cfcc3f text on a black background
contrast 12.36:1
Card sample
#cfcc3f text on a white background
contrast 1.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfcc3f;
Background color
Panel with #cfcc3f background
background-color: #cfcc3f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfcc3f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 204, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 204, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfcc3f; background: linear-gradient(135deg, #cfcc3f, #72CF3F);