#cfdf60
a balanced, vivid yellow · cool · closest name: khaki
RGB
207, 223, 96
HSL
68°, 67%, 63%
CMYK
7, 0, 57, 13
Luminance
0.6689
Every format
| HEX | #cfdf60 |
| RGB | rgb(207, 223, 96) |
| HSL | hsl(68, 67%, 63%) |
| CMYK | cmyk(7%, 0%, 57%, 13%) |
| LAB | lab(85.5 -22.6 59.1) |
| LCH | lch(85.5 63.3 110.9) |
| OKLCH | oklch(0.867 0.152 115.7) |
Copy-ready code
/* CSS */
color: #cfdf60;
background-color: #cfdf60;
/* Tailwind (arbitrary) */
class="text-[#cfdf60] bg-[#cfdf60]"
/* SCSS */
$brand: #cfdf60;
/* SwiftUI */
Color(red: 0.812, green: 0.875, blue: 0.376)
/* Android */
Color.parseColor("#cfdf60")Accessibility — WCAG contrast
Aa
#cfdf60 on white: 1.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfdf60 on black: 14.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green87.5%
Blue37.6%
CMYK percentages
Cyan7.2%
Magenta0.0%
Yellow57.0%
Key (black)12.5%
Color previews
#cfdf60 text on a black background
contrast 14.38:1
Card sample
#cfdf60 text on a white background
contrast 1.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfdf60;
Background color
Panel with #cfdf60 background
background-color: #cfdf60;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfdf60;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 223, 96, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 223, 96, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdf60; background: linear-gradient(135deg, #cfdf60, #7ADF60);