#ec751f
a balanced, electric orange · warm · closest name: chocolate
RGB
236, 117, 31
HSL
25°, 84%, 52%
CMYK
0, 50, 87, 8
Luminance
0.3065
Every format
| HEX | #ec751f |
| RGB | rgb(236, 117, 31) |
| HSL | hsl(25, 84%, 52%) |
| CMYK | cmyk(0%, 50%, 87%, 8%) |
| LAB | lab(62.2 41.3 63.0) |
| LCH | lch(62.2 75.3 56.8) |
| OKLCH | oklch(0.690 0.171 50.0) |
Copy-ready code
/* CSS */
color: #ec751f;
background-color: #ec751f;
/* Tailwind (arbitrary) */
class="text-[#ec751f] bg-[#ec751f]"
/* SCSS */
$brand: #ec751f;
/* SwiftUI */
Color(red: 0.925, green: 0.459, blue: 0.122)
/* Android */
Color.parseColor("#ec751f")Accessibility — WCAG contrast
Aa
#ec751f on white: 2.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ec751f on black: 7.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green45.9%
Blue12.2%
CMYK percentages
Cyan0.0%
Magenta50.4%
Yellow86.9%
Key (black)7.5%
Color previews
#ec751f text on a black background
contrast 7.13:1
Card sample
#ec751f text on a white background
contrast 2.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ec751f;
Background color
Panel with #ec751f background
background-color: #ec751f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ec751f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 117, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 117, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec751f; background: linear-gradient(135deg, #ec751f, #DAEC1F);