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