#8fa430
a dark, vivid green · cool · closest name: olivedrab
RGB
143, 164, 48
HSL
71°, 55%, 42%
CMYK
13, 0, 71, 36
Luminance
0.3260
Every format
| HEX | #8fa430 |
| RGB | rgb(143, 164, 48) |
| HSL | hsl(71, 55%, 42%) |
| CMYK | cmyk(13%, 0%, 71%, 36%) |
| LAB | lab(63.8 -23.2 54.7) |
| LCH | lch(63.8 59.4 113.0) |
| OKLCH | oklch(0.680 0.140 119.2) |
Copy-ready code
/* CSS */
color: #8fa430;
background-color: #8fa430;
/* Tailwind (arbitrary) */
class="text-[#8fa430] bg-[#8fa430]"
/* SCSS */
$brand: #8fa430;
/* SwiftUI */
Color(red: 0.561, green: 0.643, blue: 0.188)
/* Android */
Color.parseColor("#8fa430")Accessibility — WCAG contrast
Aa
#8fa430 on white: 2.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8fa430 on black: 7.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.1%
Green64.3%
Blue18.8%
CMYK percentages
Cyan12.8%
Magenta0.0%
Yellow70.7%
Key (black)35.7%
Color previews
#8fa430 text on a black background
contrast 7.52:1
Card sample
#8fa430 text on a white background
contrast 2.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8fa430;
Background color
Panel with #8fa430 background
background-color: #8fa430;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8fa430;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(143, 164, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 164, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8fa430; background: linear-gradient(135deg, #8fa430, #42A430);