#cfd45c
a balanced, vivid yellow · cool · closest name: khaki
RGB
207, 212, 92
HSL
63°, 58%, 60%
CMYK
2, 0, 57, 17
Luminance
0.6113
Every format
| HEX | #cfd45c |
| RGB | rgb(207, 212, 92) |
| HSL | hsl(63, 58%, 60%) |
| CMYK | cmyk(2%, 0%, 57%, 17%) |
| LAB | lab(82.5 -17.5 57.5) |
| LCH | lch(82.5 60.1 106.9) |
| OKLCH | oklch(0.843 0.143 111.3) |
Copy-ready code
/* CSS */
color: #cfd45c;
background-color: #cfd45c;
/* Tailwind (arbitrary) */
class="text-[#cfd45c] bg-[#cfd45c]"
/* SCSS */
$brand: #cfd45c;
/* SwiftUI */
Color(red: 0.812, green: 0.831, blue: 0.361)
/* Android */
Color.parseColor("#cfd45c")Accessibility — WCAG contrast
Aa
#cfd45c on white: 1.59:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfd45c on black: 13.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green83.1%
Blue36.1%
CMYK percentages
Cyan2.4%
Magenta0.0%
Yellow56.6%
Key (black)16.9%
Color previews
#cfd45c text on a black background
contrast 13.23:1
Card sample
#cfd45c text on a white background
contrast 1.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfd45c;
Background color
Panel with #cfd45c background
background-color: #cfd45c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfd45c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 212, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 212, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfd45c; background: linear-gradient(135deg, #cfd45c, #7FD45C);