#7c7213
a dark, vivid yellow · cool · closest name: olive
RGB
124, 114, 19
HSL
54°, 73%, 28%
CMYK
0, 8, 85, 51
Luminance
0.1637
Every format
| HEX | #7c7213 |
| RGB | rgb(124, 114, 19) |
| HSL | hsl(54, 73%, 28%) |
| CMYK | cmyk(0%, 8%, 85%, 51%) |
| LAB | lab(47.5 -6.7 48.9) |
| LCH | lch(47.5 49.4 97.8) |
| OKLCH | oklch(0.545 0.108 102.9) |
Copy-ready code
/* CSS */
color: #7c7213;
background-color: #7c7213;
/* Tailwind (arbitrary) */
class="text-[#7c7213] bg-[#7c7213]"
/* SCSS */
$brand: #7c7213;
/* SwiftUI */
Color(red: 0.486, green: 0.447, blue: 0.075)
/* Android */
Color.parseColor("#7c7213")Accessibility — WCAG contrast
Aa
#7c7213 on white: 4.91:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#7c7213 on black: 4.27:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red48.6%
Green44.7%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta8.1%
Yellow84.7%
Key (black)51.4%
Color previews
#7c7213 text on a black background
contrast 4.27:1
Card sample
#7c7213 text on a white background
contrast 4.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7c7213;
Background color
Panel with #7c7213 background
background-color: #7c7213;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7c7213;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(124, 114, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 114, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7c7213; background: linear-gradient(135deg, #7c7213, #407C13);