#cead45
a balanced, vivid yellow · cool · closest name: khaki
RGB
206, 173, 69
HSL
46°, 58%, 54%
CMYK
0, 16, 67, 19
Luminance
0.4344
Every format
| HEX | #cead45 |
| RGB | rgb(206, 173, 69) |
| HSL | hsl(46, 58%, 54%) |
| CMYK | cmyk(0%, 16%, 67%, 19%) |
| LAB | lab(71.8 0.6 56.0) |
| LCH | lch(71.8 56.0 89.4) |
| OKLCH | oklch(0.758 0.127 91.3) |
Copy-ready code
/* CSS */
color: #cead45;
background-color: #cead45;
/* Tailwind (arbitrary) */
class="text-[#cead45] bg-[#cead45]"
/* SCSS */
$brand: #cead45;
/* SwiftUI */
Color(red: 0.808, green: 0.678, blue: 0.271)
/* Android */
Color.parseColor("#cead45")Accessibility — WCAG contrast
Aa
#cead45 on white: 2.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cead45 on black: 9.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green67.8%
Blue27.1%
CMYK percentages
Cyan0.0%
Magenta16.0%
Yellow66.5%
Key (black)19.2%
Color previews
#cead45 text on a black background
contrast 9.69:1
Card sample
#cead45 text on a white background
contrast 2.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cead45;
Background color
Panel with #cead45 background
background-color: #cead45;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cead45;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 173, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 173, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cead45; background: linear-gradient(135deg, #cead45, #94CE45);