#ffcf4b
a balanced, electric yellow · warm · closest name: gold
RGB
255, 207, 75
HSL
44°, 100%, 65%
CMYK
0, 19, 71, 0
Luminance
0.6639
Every format
| HEX | #ffcf4b |
| RGB | rgb(255, 207, 75) |
| HSL | hsl(44, 100%, 65%) |
| CMYK | cmyk(0%, 19%, 71%, 0%) |
| LAB | lab(85.2 3.9 68.8) |
| LCH | lch(85.2 68.9 86.7) |
| OKLCH | oklch(0.874 0.153 88.3) |
Copy-ready code
/* CSS */
color: #ffcf4b;
background-color: #ffcf4b;
/* Tailwind (arbitrary) */
class="text-[#ffcf4b] bg-[#ffcf4b]"
/* SCSS */
$brand: #ffcf4b;
/* SwiftUI */
Color(red: 1.000, green: 0.812, blue: 0.294)
/* Android */
Color.parseColor("#ffcf4b")Accessibility — WCAG contrast
Aa
#ffcf4b on white: 1.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffcf4b on black: 14.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green81.2%
Blue29.4%
CMYK percentages
Cyan0.0%
Magenta18.8%
Yellow70.6%
Key (black)0.0%
Color previews
#ffcf4b text on a black background
contrast 14.28:1
Card sample
#ffcf4b text on a white background
contrast 1.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffcf4b;
Background color
Panel with #ffcf4b background
background-color: #ffcf4b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffcf4b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 207, 75, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 207, 75, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffcf4b; background: linear-gradient(135deg, #ffcf4b, #B7FF4B);