#cfcc7f
a light, vivid yellow · cool · closest name: khaki
RGB
207, 204, 127
HSL
58°, 46%, 66%
CMYK
0, 1, 39, 19
Luminance
0.5798
Every format
| HEX | #cfcc7f |
| RGB | rgb(207, 204, 127) |
| HSL | hsl(58, 46%, 66%) |
| CMYK | cmyk(0%, 1%, 39%, 19%) |
| LAB | lab(80.7 -10.2 38.7) |
| LCH | lch(80.7 40.1 104.8) |
| OKLCH | oklch(0.830 0.099 106.4) |
Copy-ready code
/* CSS */
color: #cfcc7f;
background-color: #cfcc7f;
/* Tailwind (arbitrary) */
class="text-[#cfcc7f] bg-[#cfcc7f]"
/* SCSS */
$brand: #cfcc7f;
/* SwiftUI */
Color(red: 0.812, green: 0.800, blue: 0.498)
/* Android */
Color.parseColor("#cfcc7f")Accessibility — WCAG contrast
Aa
#cfcc7f on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfcc7f on black: 12.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green80.0%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta1.4%
Yellow38.6%
Key (black)18.8%
Color previews
#cfcc7f text on a black background
contrast 12.60:1
Card sample
#cfcc7f text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfcc7f;
Background color
Panel with #cfcc7f background
background-color: #cfcc7f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfcc7f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 204, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 204, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfcc7f; background: linear-gradient(135deg, #cfcc7f, #9DCF7F);