Skip to content

#0ba22c

a dark, electric green · cool · closest name: forestgreen

RGB
11, 162, 44
HSL
133°, 87%, 34%
CMYK
93, 0, 73, 37
Luminance
0.2609

Every format

HEX#0ba22c
RGBrgb(11, 162, 44)
HSLhsl(133, 87%, 34%)
CMYKcmyk(93%, 0%, 73%, 37%)
LABlab(58.1 -58.5 48.8)
LCHlch(58.1 76.2 140.2)
OKLCHoklch(0.620 0.193 144.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0ba22c on white: 3.38:1
AA ✗ fail · AA-large · AAA
Aa
#0ba22c on black: 6.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green63.5%
Blue17.3%

CMYK percentages

Cyan93.2%
Magenta0.0%
Yellow72.8%
Key (black)36.5%

Color previews

#0ba22c text on a black background

contrast 6.22:1

Card sample

#0ba22c text on a white background

contrast 3.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 162, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 162, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0ba22c;
background: linear-gradient(135deg, #0ba22c, #0BA291);

Monochromatic scale

Palettes built from #0ba22c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0ba22c in the Color Lab