#cfcf39
a balanced, vivid yellow · cool · closest name: gold
RGB
207, 207, 57
HSL
60°, 61%, 52%
CMYK
0, 0, 73, 19
Luminance
0.5819
Every format
| HEX | #cfcf39 |
| RGB | rgb(207, 207, 57) |
| HSL | hsl(60, 61%, 52%) |
| CMYK | cmyk(0%, 0%, 73%, 19%) |
| LAB | lab(80.8 -17.1 69.7) |
| LCH | lch(80.8 71.8 103.8) |
| OKLCH | oklch(0.829 0.163 109.5) |
Copy-ready code
/* CSS */
color: #cfcf39;
background-color: #cfcf39;
/* Tailwind (arbitrary) */
class="text-[#cfcf39] bg-[#cfcf39]"
/* SCSS */
$brand: #cfcf39;
/* SwiftUI */
Color(red: 0.812, green: 0.812, blue: 0.224)
/* Android */
Color.parseColor("#cfcf39")Accessibility — WCAG contrast
Aa
#cfcf39 on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfcf39 on black: 12.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green81.2%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow72.5%
Key (black)18.8%
Color previews
#cfcf39 text on a black background
contrast 12.64:1
Card sample
#cfcf39 text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfcf39;
Background color
Panel with #cfcf39 background
background-color: #cfcf39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfcf39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 207, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 207, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfcf39; background: linear-gradient(135deg, #cfcf39, #6BCF39);