#5b6021
a dark, vivid yellow · cool · closest name: olive
RGB
91, 96, 33
HSL
65°, 49%, 25%
CMYK
5, 0, 66, 62
Luminance
0.1070
Every format
| HEX | #5b6021 |
| RGB | rgb(91, 96, 33) |
| HSL | hsl(65, 49%, 25%) |
| CMYK | cmyk(5%, 0%, 66%, 62%) |
| LAB | lab(39.1 -11.4 34.3) |
| LCH | lch(39.1 36.1 108.4) |
| OKLCH | oklch(0.471 0.085 113.5) |
Copy-ready code
/* CSS */
color: #5b6021;
background-color: #5b6021;
/* Tailwind (arbitrary) */
class="text-[#5b6021] bg-[#5b6021]"
/* SCSS */
$brand: #5b6021;
/* SwiftUI */
Color(red: 0.357, green: 0.376, blue: 0.129)
/* Android */
Color.parseColor("#5b6021")Accessibility — WCAG contrast
Aa
#5b6021 on white: 6.69:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#5b6021 on black: 3.14:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red35.7%
Green37.6%
Blue12.9%
CMYK percentages
Cyan5.2%
Magenta0.0%
Yellow65.6%
Key (black)62.4%
Color previews
#5b6021 text on a black background
contrast 3.14:1
Card sample
#5b6021 text on a white background
contrast 6.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #5b6021;
Background color
Panel with #5b6021 background
background-color: #5b6021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #5b6021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(91, 96, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(91, 96, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5b6021; background: linear-gradient(135deg, #5b6021, #316021);