#cfcf0f
a dark, electric yellow · cool · closest name: gold
RGB
207, 207, 15
HSL
60°, 87%, 44%
CMYK
0, 0, 93, 19
Luminance
0.5793
Every format
| HEX | #cfcf0f |
| RGB | rgb(207, 207, 15) |
| HSL | hsl(60, 87%, 44%) |
| CMYK | cmyk(0%, 0%, 93%, 19%) |
| LAB | lab(80.7 -18.3 79.3) |
| LCH | lch(80.7 81.4 103.0) |
| OKLCH | oklch(0.827 0.178 109.7) |
Copy-ready code
/* CSS */
color: #cfcf0f;
background-color: #cfcf0f;
/* Tailwind (arbitrary) */
class="text-[#cfcf0f] bg-[#cfcf0f]"
/* SCSS */
$brand: #cfcf0f;
/* SwiftUI */
Color(red: 0.812, green: 0.812, blue: 0.059)
/* Android */
Color.parseColor("#cfcf0f")Accessibility — WCAG contrast
Aa
#cfcf0f on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfcf0f on black: 12.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green81.2%
Blue5.9%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow92.8%
Key (black)18.8%
Color previews
#cfcf0f text on a black background
contrast 12.59:1
Card sample
#cfcf0f text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfcf0f;
Background color
Panel with #cfcf0f background
background-color: #cfcf0f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfcf0f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 207, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 207, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfcf0f; background: linear-gradient(135deg, #cfcf0f, #4FCF0F);