#cbcf39
a balanced, vivid yellow · cool · closest name: gold
RGB
203, 207, 57
HSL
62°, 61%, 52%
CMYK
2, 0, 73, 19
Luminance
0.5762
Every format
| HEX | #cbcf39 |
| RGB | rgb(203, 207, 57) |
| HSL | hsl(62, 61%, 52%) |
| CMYK | cmyk(2%, 0%, 73%, 19%) |
| LAB | lab(80.5 -18.8 69.3) |
| LCH | lch(80.5 71.8 105.2) |
| OKLCH | oklch(0.826 0.164 111.0) |
Copy-ready code
/* CSS */
color: #cbcf39;
background-color: #cbcf39;
/* Tailwind (arbitrary) */
class="text-[#cbcf39] bg-[#cbcf39]"
/* SCSS */
$brand: #cbcf39;
/* SwiftUI */
Color(red: 0.796, green: 0.812, blue: 0.224)
/* Android */
Color.parseColor("#cbcf39")Accessibility — WCAG contrast
Aa
#cbcf39 on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbcf39 on black: 12.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green81.2%
Blue22.4%
CMYK percentages
Cyan1.9%
Magenta0.0%
Yellow72.5%
Key (black)18.8%
Color previews
#cbcf39 text on a black background
contrast 12.52:1
Card sample
#cbcf39 text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbcf39;
Background color
Panel with #cbcf39 background
background-color: #cbcf39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbcf39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 207, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 207, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbcf39; background: linear-gradient(135deg, #cbcf39, #67CF39);