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