#ffcf3f
a balanced, electric yellow · cool · closest name: gold
RGB
255, 207, 63
HSL
45°, 100%, 62%
CMYK
0, 19, 75, 0
Luminance
0.6624
Every format
| HEX | #ffcf3f |
| RGB | rgb(255, 207, 63) |
| HSL | hsl(45, 100%, 62%) |
| CMYK | cmyk(0%, 19%, 75%, 0%) |
| LAB | lab(85.1 3.4 73.2) |
| LCH | lch(85.1 73.3 87.3) |
| OKLCH | oklch(0.873 0.160 89.4) |
Copy-ready code
/* CSS */
color: #ffcf3f;
background-color: #ffcf3f;
/* Tailwind (arbitrary) */
class="text-[#ffcf3f] bg-[#ffcf3f]"
/* SCSS */
$brand: #ffcf3f;
/* SwiftUI */
Color(red: 1.000, green: 0.812, blue: 0.247)
/* Android */
Color.parseColor("#ffcf3f")Accessibility — WCAG contrast
Aa
#ffcf3f on white: 1.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffcf3f on black: 14.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green81.2%
Blue24.7%
CMYK percentages
Cyan0.0%
Magenta18.8%
Yellow75.3%
Key (black)0.0%
Color previews
#ffcf3f text on a black background
contrast 14.25:1
Card sample
#ffcf3f text on a white background
contrast 1.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffcf3f;
Background color
Panel with #ffcf3f background
background-color: #ffcf3f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffcf3f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 207, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 207, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffcf3f; background: linear-gradient(135deg, #ffcf3f, #AFFF3F);