#ccb83f
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 184, 63
HSL
52°, 58%, 52%
CMYK
0, 10, 69, 20
Luminance
0.4748
Every format
| HEX | #ccb83f |
| RGB | rgb(204, 184, 63) |
| HSL | hsl(52, 58%, 52%) |
| CMYK | cmyk(0%, 10%, 69%, 20%) |
| LAB | lab(74.5 -6.4 61.2) |
| LCH | lch(74.5 61.5 96.0) |
| OKLCH | oklch(0.778 0.139 99.7) |
Copy-ready code
/* CSS */
color: #ccb83f;
background-color: #ccb83f;
/* Tailwind (arbitrary) */
class="text-[#ccb83f] bg-[#ccb83f]"
/* SCSS */
$brand: #ccb83f;
/* SwiftUI */
Color(red: 0.800, green: 0.722, blue: 0.247)
/* Android */
Color.parseColor("#ccb83f")Accessibility — WCAG contrast
Aa
#ccb83f on white: 2.00:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccb83f on black: 10.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green72.2%
Blue24.7%
CMYK percentages
Cyan0.0%
Magenta9.8%
Yellow69.1%
Key (black)20.0%
Color previews
#ccb83f text on a black background
contrast 10.50:1
Card sample
#ccb83f text on a white background
contrast 2.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccb83f;
Background color
Panel with #ccb83f background
background-color: #ccb83f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccb83f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 184, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 184, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccb83f; background: linear-gradient(135deg, #ccb83f, #82CC3F);