#8c7213
a dark, electric yellow · cool · closest name: olive
RGB
140, 114, 19
HSL
47°, 76%, 31%
CMYK
0, 19, 86, 45
Luminance
0.1766
Every format
| HEX | #8c7213 |
| RGB | rgb(140, 114, 19) |
| HSL | hsl(47, 76%, 31%) |
| CMYK | cmyk(0%, 19%, 86%, 45%) |
| LAB | lab(49.1 0.9 50.9) |
| LCH | lch(49.1 50.9 89.0) |
| OKLCH | oklch(0.561 0.109 91.9) |
Copy-ready code
/* CSS */
color: #8c7213;
background-color: #8c7213;
/* Tailwind (arbitrary) */
class="text-[#8c7213] bg-[#8c7213]"
/* SCSS */
$brand: #8c7213;
/* SwiftUI */
Color(red: 0.549, green: 0.447, blue: 0.075)
/* Android */
Color.parseColor("#8c7213")Accessibility — WCAG contrast
Aa
#8c7213 on white: 4.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#8c7213 on black: 4.53:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green44.7%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta18.6%
Yellow86.4%
Key (black)45.1%
Color previews
#8c7213 text on a black background
contrast 4.53:1
Card sample
#8c7213 text on a white background
contrast 4.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8c7213;
Background color
Panel with #8c7213 background
background-color: #8c7213;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8c7213;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 114, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 114, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c7213; background: linear-gradient(135deg, #8c7213, #558C13);