#cfd83c
a balanced, vivid yellow · cool · closest name: gold
RGB
207, 216, 60
HSL
64°, 67%, 54%
CMYK
4, 0, 72, 15
Luminance
0.6270
Every format
| HEX | #cfd83c |
| RGB | rgb(207, 216, 60) |
| HSL | hsl(64, 67%, 54%) |
| CMYK | cmyk(4%, 0%, 72%, 15%) |
| LAB | lab(83.3 -21.4 71.0) |
| LCH | lch(83.3 74.2 106.8) |
| OKLCH | oklch(0.849 0.170 112.8) |
Copy-ready code
/* CSS */
color: #cfd83c;
background-color: #cfd83c;
/* Tailwind (arbitrary) */
class="text-[#cfd83c] bg-[#cfd83c]"
/* SCSS */
$brand: #cfd83c;
/* SwiftUI */
Color(red: 0.812, green: 0.847, blue: 0.235)
/* Android */
Color.parseColor("#cfd83c")Accessibility — WCAG contrast
Aa
#cfd83c on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfd83c on black: 13.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green84.7%
Blue23.5%
CMYK percentages
Cyan4.2%
Magenta0.0%
Yellow72.2%
Key (black)15.3%
Color previews
#cfd83c text on a black background
contrast 13.54:1
Card sample
#cfd83c text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfd83c;
Background color
Panel with #cfd83c background
background-color: #cfd83c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfd83c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 216, 60, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 216, 60, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfd83c; background: linear-gradient(135deg, #cfd83c, #67D83C);