#ffb227
a balanced, electric orange · warm · closest name: orange
RGB
255, 178, 39
HSL
39°, 100%, 58%
CMYK
0, 30, 85, 0
Luminance
0.5325
Every format
| HEX | #ffb227 |
| RGB | rgb(255, 178, 39) |
| HSL | hsl(39, 100%, 58%) |
| CMYK | cmyk(0%, 30%, 85%, 0%) |
| LAB | lab(78.0 17.7 74.5) |
| LCH | lch(78.0 76.5 76.6) |
| OKLCH | oklch(0.817 0.163 75.6) |
Copy-ready code
/* CSS */
color: #ffb227;
background-color: #ffb227;
/* Tailwind (arbitrary) */
class="text-[#ffb227] bg-[#ffb227]"
/* SCSS */
$brand: #ffb227;
/* SwiftUI */
Color(red: 1.000, green: 0.698, blue: 0.153)
/* Android */
Color.parseColor("#ffb227")Accessibility — WCAG contrast
Aa
#ffb227 on white: 1.80:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffb227 on black: 11.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green69.8%
Blue15.3%
CMYK percentages
Cyan0.0%
Magenta30.2%
Yellow84.7%
Key (black)0.0%
Color previews
#ffb227 text on a black background
contrast 11.65:1
Card sample
#ffb227 text on a white background
contrast 1.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffb227;
Background color
Panel with #ffb227 background
background-color: #ffb227;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffb227;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 178, 39, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 178, 39, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffb227; background: linear-gradient(135deg, #ffb227, #BCFF27);