#cfd07f
a light, vivid yellow · cool · closest name: khaki
RGB
207, 208, 127
HSL
61°, 46%, 66%
CMYK
1, 0, 39, 18
Luminance
0.5991
Every format
| HEX | #cfd07f |
| RGB | rgb(207, 208, 127) |
| HSL | hsl(61, 46%, 66%) |
| CMYK | cmyk(1%, 0%, 39%, 18%) |
| LAB | lab(81.8 -12.3 40.1) |
| LCH | lch(81.8 41.9 107.0) |
| OKLCH | oklch(0.839 0.103 109.0) |
Copy-ready code
/* CSS */
color: #cfd07f;
background-color: #cfd07f;
/* Tailwind (arbitrary) */
class="text-[#cfd07f] bg-[#cfd07f]"
/* SCSS */
$brand: #cfd07f;
/* SwiftUI */
Color(red: 0.812, green: 0.816, blue: 0.498)
/* Android */
Color.parseColor("#cfd07f")Accessibility — WCAG contrast
Aa
#cfd07f on white: 1.62:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfd07f on black: 12.98:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green81.6%
Blue49.8%
CMYK percentages
Cyan0.5%
Magenta0.0%
Yellow38.9%
Key (black)18.4%
Color previews
#cfd07f text on a black background
contrast 12.98:1
Card sample
#cfd07f text on a white background
contrast 1.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfd07f;
Background color
Panel with #cfd07f background
background-color: #cfd07f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfd07f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 208, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 208, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfd07f; background: linear-gradient(135deg, #cfd07f, #99D07F);