#485f21
a dark, vivid green · cool · closest name: olivedrab
RGB
72, 95, 33
HSL
82°, 48%, 25%
CMYK
24, 0, 65, 63
Luminance
0.0967
Every format
| HEX | #485f21 |
| RGB | rgb(72, 95, 33) |
| HSL | hsl(82, 48%, 25%) |
| CMYK | cmyk(24%, 0%, 65%, 63%) |
| LAB | lab(37.3 -19.5 31.8) |
| LCH | lch(37.3 37.4 121.5) |
| OKLCH | oklch(0.452 0.092 127.0) |
Copy-ready code
/* CSS */
color: #485f21;
background-color: #485f21;
/* Tailwind (arbitrary) */
class="text-[#485f21] bg-[#485f21]"
/* SCSS */
$brand: #485f21;
/* SwiftUI */
Color(red: 0.282, green: 0.373, blue: 0.129)
/* Android */
Color.parseColor("#485f21")Accessibility — WCAG contrast
Aa
#485f21 on white: 7.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#485f21 on black: 2.93:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red28.2%
Green37.3%
Blue12.9%
CMYK percentages
Cyan24.2%
Magenta0.0%
Yellow65.3%
Key (black)62.7%
Color previews
#485f21 text on a black background
contrast 2.93:1
Card sample
#485f21 text on a white background
contrast 7.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #485f21;
Background color
Panel with #485f21 background
background-color: #485f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #485f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(72, 95, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(72, 95, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #485f21; background: linear-gradient(135deg, #485f21, #215F23);