#475f30
a dark, soft green · cool · closest name: seagreen
RGB
71, 95, 48
HSL
91°, 33%, 28%
CMYK
25, 0, 50, 63
Luminance
0.0974
Every format
| HEX | #475f30 |
| RGB | rgb(71, 95, 48) |
| HSL | hsl(91, 33%, 28%) |
| CMYK | cmyk(25%, 0%, 50%, 63%) |
| LAB | lab(37.4 -18.2 23.9) |
| LCH | lch(37.4 30.1 127.3) |
| OKLCH | oklch(0.454 0.077 131.1) |
Copy-ready code
/* CSS */
color: #475f30;
background-color: #475f30;
/* Tailwind (arbitrary) */
class="text-[#475f30] bg-[#475f30]"
/* SCSS */
$brand: #475f30;
/* SwiftUI */
Color(red: 0.278, green: 0.373, blue: 0.188)
/* Android */
Color.parseColor("#475f30")Accessibility — WCAG contrast
Aa
#475f30 on white: 7.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#475f30 on black: 2.95:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red27.8%
Green37.3%
Blue18.8%
CMYK percentages
Cyan25.3%
Magenta0.0%
Yellow49.5%
Key (black)62.7%
Color previews
#475f30 text on a black background
contrast 2.95:1
Card sample
#475f30 text on a white background
contrast 7.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #475f30;
Background color
Panel with #475f30 background
background-color: #475f30;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #475f30;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(71, 95, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(71, 95, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #475f30; background: linear-gradient(135deg, #475f30, #305F38);