#809f20
a dark, vivid green · cool · closest name: olivedrab
RGB
128, 159, 32
HSL
75°, 67%, 38%
CMYK
20, 0, 80, 38
Luminance
0.2949
Every format
| HEX | #809f20 |
| RGB | rgb(128, 159, 32) |
| HSL | hsl(75, 67%, 38%) |
| CMYK | cmyk(20%, 0%, 80%, 38%) |
| LAB | lab(61.2 -27.9 57.4) |
| LCH | lch(61.2 63.8 115.9) |
| OKLCH | oklch(0.656 0.150 123.1) |
Copy-ready code
/* CSS */
color: #809f20;
background-color: #809f20;
/* Tailwind (arbitrary) */
class="text-[#809f20] bg-[#809f20]"
/* SCSS */
$brand: #809f20;
/* SwiftUI */
Color(red: 0.502, green: 0.624, blue: 0.125)
/* Android */
Color.parseColor("#809f20")Accessibility — WCAG contrast
Aa
#809f20 on white: 3.04:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#809f20 on black: 6.90:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green62.4%
Blue12.5%
CMYK percentages
Cyan19.5%
Magenta0.0%
Yellow79.9%
Key (black)37.6%
Color previews
#809f20 text on a black background
contrast 6.90:1
Card sample
#809f20 text on a white background
contrast 3.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #809f20;
Background color
Panel with #809f20 background
background-color: #809f20;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #809f20;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 159, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 159, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #809f20; background: linear-gradient(135deg, #809f20, #2B9F20);