Skip to content

#0ba151

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

RGB
11, 161, 81
HSL
148°, 87%, 34%
CMYK
93, 0, 50, 37
Luminance
0.2615

Every format

HEX#0ba151
RGBrgb(11, 161, 81)
HSLhsl(148, 87%, 34%)
CMYKcmyk(93%, 0%, 50%, 37%)
LABlab(58.2 -53.4 31.8)
LCHlch(58.2 62.2 149.2)
OKLCHoklch(0.622 0.163 151.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0ba151 on white: 3.37:1
AA ✗ fail · AA-large · AAA
Aa
#0ba151 on black: 6.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green63.1%
Blue31.8%

CMYK percentages

Cyan93.2%
Magenta0.0%
Yellow49.7%
Key (black)36.9%

Color previews

#0ba151 text on a black background

contrast 6.23:1

Card sample

#0ba151 text on a white background

contrast 3.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0ba151

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0ba151 in the Color Lab