#ec7e21
a balanced, electric orange · warm · closest name: chocolate
RGB
236, 126, 33
HSL
28°, 84%, 53%
CMYK
0, 47, 86, 8
Luminance
0.3286
Every format
| HEX | #ec7e21 |
| RGB | rgb(236, 126, 33) |
| HSL | hsl(28, 84%, 53%) |
| CMYK | cmyk(0%, 47%, 86%, 8%) |
| LAB | lab(64.1 36.8 63.9) |
| LCH | lch(64.1 73.7 60.1) |
| OKLCH | oklch(0.704 0.165 54.1) |
Copy-ready code
/* CSS */
color: #ec7e21;
background-color: #ec7e21;
/* Tailwind (arbitrary) */
class="text-[#ec7e21] bg-[#ec7e21]"
/* SCSS */
$brand: #ec7e21;
/* SwiftUI */
Color(red: 0.925, green: 0.494, blue: 0.129)
/* Android */
Color.parseColor("#ec7e21")Accessibility — WCAG contrast
Aa
#ec7e21 on white: 2.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ec7e21 on black: 7.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green49.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta46.6%
Yellow86.0%
Key (black)7.5%
Color previews
#ec7e21 text on a black background
contrast 7.57:1
Card sample
#ec7e21 text on a white background
contrast 2.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ec7e21;
Background color
Panel with #ec7e21 background
background-color: #ec7e21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ec7e21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 126, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 126, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec7e21; background: linear-gradient(135deg, #ec7e21, #D3EC21);