Skip to content

#0f4621

a deep, vivid green · cool · closest name: darkslategray

RGB
15, 70, 33
HSL
140°, 65%, 17%
CMYK
79, 0, 53, 73
Luminance
0.0459

Every format

HEX#0f4621
RGBrgb(15, 70, 33)
HSLhsl(140, 65%, 17%)
CMYKcmyk(79%, 0%, 53%, 73%)
LABlab(25.5 -27.2 17.3)
LCHlch(25.5 32.2 147.6)
OKLCHoklch(0.349 0.085 150.1)

Copy-ready code

/* CSS */
color: #0f4621;
background-color: #0f4621;
/* Tailwind (arbitrary) */
class="text-[#0f4621] bg-[#0f4621]"
/* SCSS */
$brand: #0f4621;
/* SwiftUI */
Color(red: 0.059, green: 0.275, blue: 0.129)
/* Android */
Color.parseColor("#0f4621")

Accessibility — WCAG contrast

Aa
#0f4621 on white: 10.95:1
AA ✓ pass · AA-large · AAA
Aa
#0f4621 on black: 1.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green27.5%
Blue12.9%

CMYK percentages

Cyan78.6%
Magenta0.0%
Yellow52.9%
Key (black)72.5%

Color previews

#0f4621 text on a black background

contrast 1.92:1

Card sample

#0f4621 text on a white background

contrast 10.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0f4621;
Background color
Panel with #0f4621 background
background-color: #0f4621;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0f4621;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(15, 70, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 70, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f4621;
background: linear-gradient(135deg, #0f4621, #0F4646);

Monochromatic scale

Palettes built from #0f4621

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f4621 in the Color Lab