#ceba40
a balanced, vivid yellow · cool · closest name: khaki
RGB
206, 186, 64
HSL
52°, 59%, 53%
CMYK
0, 10, 69, 19
Luminance
0.4861
Every format
| HEX | #ceba40 |
| RGB | rgb(206, 186, 64) |
| HSL | hsl(52, 59%, 53%) |
| CMYK | cmyk(0%, 10%, 69%, 19%) |
| LAB | lab(75.2 -6.5 61.6) |
| LCH | lch(75.2 61.9 96.1) |
| OKLCH | oklch(0.784 0.140 99.8) |
Copy-ready code
/* CSS */
color: #ceba40;
background-color: #ceba40;
/* Tailwind (arbitrary) */
class="text-[#ceba40] bg-[#ceba40]"
/* SCSS */
$brand: #ceba40;
/* SwiftUI */
Color(red: 0.808, green: 0.729, blue: 0.251)
/* Android */
Color.parseColor("#ceba40")Accessibility — WCAG contrast
Aa
#ceba40 on white: 1.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ceba40 on black: 10.72:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green72.9%
Blue25.1%
CMYK percentages
Cyan0.0%
Magenta9.7%
Yellow68.9%
Key (black)19.2%
Color previews
#ceba40 text on a black background
contrast 10.72:1
Card sample
#ceba40 text on a white background
contrast 1.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ceba40;
Background color
Panel with #ceba40 background
background-color: #ceba40;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ceba40;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 186, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 186, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceba40; background: linear-gradient(135deg, #ceba40, #83CE40);