#286021
a dark, vivid green · cool · closest name: seagreen
RGB
40, 96, 33
HSL
113°, 49%, 25%
CMYK
58, 0, 66, 62
Luminance
0.0893
Every format
| HEX | #286021 |
| RGB | rgb(40, 96, 33) |
| HSL | hsl(113, 49%, 25%) |
| CMYK | cmyk(58%, 0%, 66%, 62%) |
| LAB | lab(35.8 -32.0 29.8) |
| LCH | lch(35.8 43.8 137.1) |
| OKLCH | oklch(0.436 0.112 141.5) |
Copy-ready code
/* CSS */
color: #286021;
background-color: #286021;
/* Tailwind (arbitrary) */
class="text-[#286021] bg-[#286021]"
/* SCSS */
$brand: #286021;
/* SwiftUI */
Color(red: 0.157, green: 0.376, blue: 0.129)
/* Android */
Color.parseColor("#286021")Accessibility — WCAG contrast
Aa
#286021 on white: 7.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#286021 on black: 2.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.7%
Green37.6%
Blue12.9%
CMYK percentages
Cyan58.3%
Magenta0.0%
Yellow65.6%
Key (black)62.4%
Color previews
#286021 text on a black background
contrast 2.79:1
Card sample
#286021 text on a white background
contrast 7.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #286021;
Background color
Panel with #286021 background
background-color: #286021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #286021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(40, 96, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 96, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #286021; background: linear-gradient(135deg, #286021, #216044);