#538024
a dark, vivid green · cool · closest name: olivedrab
RGB
83, 128, 36
HSL
89°, 56%, 32%
CMYK
35, 0, 72, 50
Luminance
0.1740
Every format
| HEX | #538024 |
| RGB | rgb(83, 128, 36) |
| HSL | hsl(89, 56%, 32%) |
| CMYK | cmyk(35%, 0%, 72%, 50%) |
| LAB | lab(48.8 -31.1 43.0) |
| LCH | lch(48.8 53.0 125.9) |
| OKLCH | oklch(0.548 0.131 132.0) |
Copy-ready code
/* CSS */
color: #538024;
background-color: #538024;
/* Tailwind (arbitrary) */
class="text-[#538024] bg-[#538024]"
/* SCSS */
$brand: #538024;
/* SwiftUI */
Color(red: 0.325, green: 0.502, blue: 0.141)
/* Android */
Color.parseColor("#538024")Accessibility — WCAG contrast
Aa
#538024 on white: 4.69:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#538024 on black: 4.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.5%
Green50.2%
Blue14.1%
CMYK percentages
Cyan35.2%
Magenta0.0%
Yellow71.9%
Key (black)49.8%
Color previews
#538024 text on a black background
contrast 4.48:1
Card sample
#538024 text on a white background
contrast 4.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #538024;
Background color
Panel with #538024 background
background-color: #538024;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #538024;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(83, 128, 36, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 128, 36, 0.45);
Border & gradient
Gradient panel
border: 3px solid #538024; background: linear-gradient(135deg, #538024, #248032);