#bc9e21
a dark, vivid yellow · cool · closest name: olive
RGB
188, 158, 33
HSL
48°, 70%, 43%
CMYK
0, 16, 82, 26
Luminance
0.3525
Every format
| HEX | #bc9e21 |
| RGB | rgb(188, 158, 33) |
| HSL | hsl(48, 70%, 43%) |
| CMYK | cmyk(0%, 16%, 82%, 26%) |
| LAB | lab(66.0 -0.9 63.1) |
| LCH | lch(66.0 63.2 90.9) |
| OKLCH | oklch(0.706 0.136 94.2) |
Copy-ready code
/* CSS */
color: #bc9e21;
background-color: #bc9e21;
/* Tailwind (arbitrary) */
class="text-[#bc9e21] bg-[#bc9e21]"
/* SCSS */
$brand: #bc9e21;
/* SwiftUI */
Color(red: 0.737, green: 0.620, blue: 0.129)
/* Android */
Color.parseColor("#bc9e21")Accessibility — WCAG contrast
Aa
#bc9e21 on white: 2.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bc9e21 on black: 8.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green62.0%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta16.0%
Yellow82.4%
Key (black)26.3%
Color previews
#bc9e21 text on a black background
contrast 8.05:1
Card sample
#bc9e21 text on a white background
contrast 2.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bc9e21;
Background color
Panel with #bc9e21 background
background-color: #bc9e21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bc9e21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 158, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 158, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc9e21; background: linear-gradient(135deg, #bc9e21, #73BC21);