#cfdf20
a balanced, vivid yellow · cool · closest name: yellow
RGB
207, 223, 32
HSL
65°, 75%, 50%
CMYK
7, 0, 86, 13
Luminance
0.6615
Every format
| HEX | #cfdf20 |
| RGB | rgb(207, 223, 32) |
| HSL | hsl(65, 75%, 50%) |
| CMYK | cmyk(7%, 0%, 86%, 13%) |
| LAB | lab(85.1 -25.7 80.1) |
| LCH | lch(85.1 84.1 107.8) |
| OKLCH | oklch(0.863 0.189 115.0) |
Copy-ready code
/* CSS */
color: #cfdf20;
background-color: #cfdf20;
/* Tailwind (arbitrary) */
class="text-[#cfdf20] bg-[#cfdf20]"
/* SCSS */
$brand: #cfdf20;
/* SwiftUI */
Color(red: 0.812, green: 0.875, blue: 0.125)
/* Android */
Color.parseColor("#cfdf20")Accessibility — WCAG contrast
Aa
#cfdf20 on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfdf20 on black: 14.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green87.5%
Blue12.5%
CMYK percentages
Cyan7.2%
Magenta0.0%
Yellow85.7%
Key (black)12.5%
Color previews
#cfdf20 text on a black background
contrast 14.23:1
Card sample
#cfdf20 text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfdf20;
Background color
Panel with #cfdf20 background
background-color: #cfdf20;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfdf20;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 223, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 223, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdf20; background: linear-gradient(135deg, #cfdf20, #50DF20);