#cfd982
a light, vivid yellow · cool · closest name: khaki
RGB
207, 217, 130
HSL
67°, 53%, 68%
CMYK
5, 0, 40, 15
Luminance
0.6450
Every format
| HEX | #cfd982 |
| RGB | rgb(207, 217, 130) |
| HSL | hsl(67, 53%, 68%) |
| CMYK | cmyk(5%, 0%, 40%, 15%) |
| LAB | lab(84.2 -16.4 41.7) |
| LCH | lch(84.2 44.8 111.5) |
| OKLCH | oklch(0.858 0.111 114.1) |
Copy-ready code
/* CSS */
color: #cfd982;
background-color: #cfd982;
/* Tailwind (arbitrary) */
class="text-[#cfd982] bg-[#cfd982]"
/* SCSS */
$brand: #cfd982;
/* SwiftUI */
Color(red: 0.812, green: 0.851, blue: 0.510)
/* Android */
Color.parseColor("#cfd982")Accessibility — WCAG contrast
Aa
#cfd982 on white: 1.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfd982 on black: 13.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green85.1%
Blue51.0%
CMYK percentages
Cyan4.6%
Magenta0.0%
Yellow40.1%
Key (black)14.9%
Color previews
#cfd982 text on a black background
contrast 13.90:1
Card sample
#cfd982 text on a white background
contrast 1.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfd982;
Background color
Panel with #cfd982 background
background-color: #cfd982;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfd982;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 217, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 217, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfd982; background: linear-gradient(135deg, #cfd982, #95D982);