#265f21
a dark, vivid green · cool · closest name: seagreen
RGB
38, 95, 33
HSL
115°, 48%, 25%
CMYK
60, 0, 65, 63
Luminance
0.0871
Every format
| HEX | #265f21 |
| RGB | rgb(38, 95, 33) |
| HSL | hsl(115, 48%, 25%) |
| CMYK | cmyk(60%, 0%, 65%, 63%) |
| LAB | lab(35.4 -32.2 29.3) |
| LCH | lch(35.4 43.5 137.7) |
| OKLCH | oklch(0.432 0.111 142.0) |
Copy-ready code
/* CSS */
color: #265f21;
background-color: #265f21;
/* Tailwind (arbitrary) */
class="text-[#265f21] bg-[#265f21]"
/* SCSS */
$brand: #265f21;
/* SwiftUI */
Color(red: 0.149, green: 0.373, blue: 0.129)
/* Android */
Color.parseColor("#265f21")Accessibility — WCAG contrast
Aa
#265f21 on white: 7.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#265f21 on black: 2.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.9%
Green37.3%
Blue12.9%
CMYK percentages
Cyan60.0%
Magenta0.0%
Yellow65.3%
Key (black)62.7%
Color previews
#265f21 text on a black background
contrast 2.74:1
Card sample
#265f21 text on a white background
contrast 7.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #265f21;
Background color
Panel with #265f21 background
background-color: #265f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #265f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(38, 95, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 95, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #265f21; background: linear-gradient(135deg, #265f21, #215F45);