#cebb21
a balanced, vivid yellow · cool · closest name: gold
RGB
206, 187, 33
HSL
53°, 72%, 47%
CMYK
0, 9, 84, 19
Luminance
0.4877
Every format
| HEX | #cebb21 |
| RGB | rgb(206, 187, 33) |
| HSL | hsl(53, 72%, 47%) |
| CMYK | cmyk(0%, 9%, 84%, 19%) |
| LAB | lab(75.3 -8.3 71.8) |
| LCH | lch(75.3 72.2 96.6) |
| OKLCH | oklch(0.784 0.157 101.6) |
Copy-ready code
/* CSS */
color: #cebb21;
background-color: #cebb21;
/* Tailwind (arbitrary) */
class="text-[#cebb21] bg-[#cebb21]"
/* SCSS */
$brand: #cebb21;
/* SwiftUI */
Color(red: 0.808, green: 0.733, blue: 0.129)
/* Android */
Color.parseColor("#cebb21")Accessibility — WCAG contrast
Aa
#cebb21 on white: 1.95:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cebb21 on black: 10.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green73.3%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta9.2%
Yellow84.0%
Key (black)19.2%
Color previews
#cebb21 text on a black background
contrast 10.75:1
Card sample
#cebb21 text on a white background
contrast 1.95:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cebb21;
Background color
Panel with #cebb21 background
background-color: #cebb21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cebb21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 187, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 187, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cebb21; background: linear-gradient(135deg, #cebb21, #6ECE21);