#747821
a dark, vivid yellow · cool · closest name: olive
RGB
116, 120, 33
HSL
63°, 57%, 30%
CMYK
3, 0, 73, 53
Luminance
0.1726
Every format
| HEX | #747821 |
| RGB | rgb(116, 120, 33) |
| HSL | hsl(63, 57%, 30%) |
| CMYK | cmyk(3%, 0%, 73%, 53%) |
| LAB | lab(48.6 -13.1 44.7) |
| LCH | lch(48.6 46.6 106.3) |
| OKLCH | oklch(0.552 0.107 112.0) |
Copy-ready code
/* CSS */
color: #747821;
background-color: #747821;
/* Tailwind (arbitrary) */
class="text-[#747821] bg-[#747821]"
/* SCSS */
$brand: #747821;
/* SwiftUI */
Color(red: 0.455, green: 0.471, blue: 0.129)
/* Android */
Color.parseColor("#747821")Accessibility — WCAG contrast
Aa
#747821 on white: 4.72:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#747821 on black: 4.45:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red45.5%
Green47.1%
Blue12.9%
CMYK percentages
Cyan3.3%
Magenta0.0%
Yellow72.5%
Key (black)52.9%
Color previews
#747821 text on a black background
contrast 4.45:1
Card sample
#747821 text on a white background
contrast 4.72:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #747821;
Background color
Panel with #747821 background
background-color: #747821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #747821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(116, 120, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(116, 120, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #747821; background: linear-gradient(135deg, #747821, #3A7821);