#747021
a dark, vivid yellow · cool · closest name: olive
RGB
116, 112, 33
HSL
57°, 56%, 29%
CMYK
0, 3, 72, 55
Luminance
0.1541
Every format
| HEX | #747021 |
| RGB | rgb(116, 112, 33) |
| HSL | hsl(57, 56%, 29%) |
| CMYK | cmyk(0%, 3%, 72%, 55%) |
| LAB | lab(46.2 -8.7 42.4) |
| LCH | lch(46.2 43.3 101.6) |
| OKLCH | oklch(0.533 0.099 106.4) |
Copy-ready code
/* CSS */
color: #747021;
background-color: #747021;
/* Tailwind (arbitrary) */
class="text-[#747021] bg-[#747021]"
/* SCSS */
$brand: #747021;
/* SwiftUI */
Color(red: 0.455, green: 0.439, blue: 0.129)
/* Android */
Color.parseColor("#747021")Accessibility — WCAG contrast
Aa
#747021 on white: 5.14:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#747021 on black: 4.08:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red45.5%
Green43.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta3.4%
Yellow71.6%
Key (black)54.5%
Color previews
#747021 text on a black background
contrast 4.08:1
Card sample
#747021 text on a white background
contrast 5.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #747021;
Background color
Panel with #747021 background
background-color: #747021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #747021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(116, 112, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(116, 112, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #747021; background: linear-gradient(135deg, #747021, #417421);