#ffbc1f
a balanced, electric yellow · warm · closest name: orange
RGB
255, 188, 31
HSL
42°, 100%, 56%
CMYK
0, 26, 88, 0
Luminance
0.5733
Every format
| HEX | #ffbc1f |
| RGB | rgb(255, 188, 31) |
| HSL | hsl(42, 100%, 56%) |
| CMYK | cmyk(0%, 26%, 88%, 0%) |
| LAB | lab(80.4 12.3 78.3) |
| LCH | lch(80.4 79.3 81.1) |
| OKLCH | oklch(0.835 0.167 81.6) |
Copy-ready code
/* CSS */
color: #ffbc1f;
background-color: #ffbc1f;
/* Tailwind (arbitrary) */
class="text-[#ffbc1f] bg-[#ffbc1f]"
/* SCSS */
$brand: #ffbc1f;
/* SwiftUI */
Color(red: 1.000, green: 0.737, blue: 0.122)
/* Android */
Color.parseColor("#ffbc1f")Accessibility — WCAG contrast
Aa
#ffbc1f on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffbc1f on black: 12.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green73.7%
Blue12.2%
CMYK percentages
Cyan0.0%
Magenta26.3%
Yellow87.8%
Key (black)0.0%
Color previews
#ffbc1f text on a black background
contrast 12.47:1
Card sample
#ffbc1f text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffbc1f;
Background color
Panel with #ffbc1f background
background-color: #ffbc1f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffbc1f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 188, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 188, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffbc1f; background: linear-gradient(135deg, #ffbc1f, #ADFF1F);