#cebd2f
a balanced, vivid yellow · cool · closest name: gold
RGB
206, 189, 47
HSL
54°, 63%, 50%
CMYK
0, 8, 77, 19
Luminance
0.4972
Every format
| HEX | #cebd2f |
| RGB | rgb(206, 189, 47) |
| HSL | hsl(54, 63%, 50%) |
| CMYK | cmyk(0%, 8%, 77%, 19%) |
| LAB | lab(75.9 -8.8 68.3) |
| LCH | lch(75.9 68.9 97.4) |
| OKLCH | oklch(0.789 0.152 102.1) |
Copy-ready code
/* CSS */
color: #cebd2f;
background-color: #cebd2f;
/* Tailwind (arbitrary) */
class="text-[#cebd2f] bg-[#cebd2f]"
/* SCSS */
$brand: #cebd2f;
/* SwiftUI */
Color(red: 0.808, green: 0.741, blue: 0.184)
/* Android */
Color.parseColor("#cebd2f")Accessibility — WCAG contrast
Aa
#cebd2f on white: 1.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cebd2f on black: 10.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green74.1%
Blue18.4%
CMYK percentages
Cyan0.0%
Magenta8.3%
Yellow77.2%
Key (black)19.2%
Color previews
#cebd2f text on a black background
contrast 10.94:1
Card sample
#cebd2f text on a white background
contrast 1.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cebd2f;
Background color
Panel with #cebd2f background
background-color: #cebd2f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cebd2f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 189, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 189, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cebd2f; background: linear-gradient(135deg, #cebd2f, #75CE2F);