#5b6421
a dark, vivid yellow · cool · closest name: olive
RGB
91, 100, 33
HSL
68°, 50%, 26%
CMYK
9, 0, 67, 61
Luminance
0.1145
Every format
| HEX | #5b6421 |
| RGB | rgb(91, 100, 33) |
| HSL | hsl(68, 50%, 26%) |
| CMYK | cmyk(9%, 0%, 67%, 61%) |
| LAB | lab(40.3 -13.7 35.6) |
| LCH | lch(40.3 38.1 111.0) |
| OKLCH | oklch(0.481 0.091 116.4) |
Copy-ready code
/* CSS */
color: #5b6421;
background-color: #5b6421;
/* Tailwind (arbitrary) */
class="text-[#5b6421] bg-[#5b6421]"
/* SCSS */
$brand: #5b6421;
/* SwiftUI */
Color(red: 0.357, green: 0.392, blue: 0.129)
/* Android */
Color.parseColor("#5b6421")Accessibility — WCAG contrast
Aa
#5b6421 on white: 6.38:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#5b6421 on black: 3.29:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red35.7%
Green39.2%
Blue12.9%
CMYK percentages
Cyan9.0%
Magenta0.0%
Yellow67.0%
Key (black)60.8%
Color previews
#5b6421 text on a black background
contrast 3.29:1
Card sample
#5b6421 text on a white background
contrast 6.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #5b6421;
Background color
Panel with #5b6421 background
background-color: #5b6421;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #5b6421;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(91, 100, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(91, 100, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5b6421; background: linear-gradient(135deg, #5b6421, #2E6421);