#808024
a dark, vivid yellow · cool · closest name: olive
RGB
128, 128, 36
HSL
60°, 56%, 32%
CMYK
0, 0, 72, 50
Luminance
0.2015
Every format
| HEX | #808024 |
| RGB | rgb(128, 128, 36) |
| HSL | hsl(60, 56%, 32%) |
| CMYK | cmyk(0%, 0%, 72%, 50%) |
| LAB | lab(52.0 -11.8 47.3) |
| LCH | lch(52.0 48.7 104.0) |
| OKLCH | oklch(0.582 0.112 109.4) |
Copy-ready code
/* CSS */
color: #808024;
background-color: #808024;
/* Tailwind (arbitrary) */
class="text-[#808024] bg-[#808024]"
/* SCSS */
$brand: #808024;
/* SwiftUI */
Color(red: 0.502, green: 0.502, blue: 0.141)
/* Android */
Color.parseColor("#808024")Accessibility — WCAG contrast
Aa
#808024 on white: 4.17:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#808024 on black: 5.03:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green50.2%
Blue14.1%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow71.9%
Key (black)49.8%
Color previews
#808024 text on a black background
contrast 5.03:1
Card sample
#808024 text on a white background
contrast 4.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #808024;
Background color
Panel with #808024 background
background-color: #808024;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #808024;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 128, 36, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 128, 36, 0.45);
Border & gradient
Gradient panel
border: 3px solid #808024; background: linear-gradient(135deg, #808024, #438024);