#cdd07c
a light, vivid yellow · cool · closest name: khaki
RGB
205, 208, 124
HSL
62°, 47%, 65%
CMYK
1, 0, 40, 18
Luminance
0.5955
Every format
| HEX | #cdd07c |
| RGB | rgb(205, 208, 124) |
| HSL | hsl(62, 47%, 65%) |
| CMYK | cmyk(1%, 0%, 40%, 18%) |
| LAB | lab(81.6 -13.4 41.3) |
| LCH | lch(81.6 43.4 107.9) |
| OKLCH | oklch(0.837 0.107 110.3) |
Copy-ready code
/* CSS */
color: #cdd07c;
background-color: #cdd07c;
/* Tailwind (arbitrary) */
class="text-[#cdd07c] bg-[#cdd07c]"
/* SCSS */
$brand: #cdd07c;
/* SwiftUI */
Color(red: 0.804, green: 0.816, blue: 0.486)
/* Android */
Color.parseColor("#cdd07c")Accessibility — WCAG contrast
Aa
#cdd07c on white: 1.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdd07c on black: 12.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green81.6%
Blue48.6%
CMYK percentages
Cyan1.4%
Magenta0.0%
Yellow40.4%
Key (black)18.4%
Color previews
#cdd07c text on a black background
contrast 12.91:1
Card sample
#cdd07c text on a white background
contrast 1.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdd07c;
Background color
Panel with #cdd07c background
background-color: #cdd07c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdd07c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 208, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 208, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdd07c; background: linear-gradient(135deg, #cdd07c, #95D07C);