Skip to content

#0ffba2

a balanced, electric green · cool · closest name: aquamarine

RGB
15, 251, 162
HSL
157°, 97%, 52%
CMYK
94, 0, 36, 2
Luminance
0.7170

Every format

HEX#0ffba2
RGBrgb(15, 251, 162)
HSLhsl(157, 97%, 52%)
CMYKcmyk(94%, 0%, 36%, 2%)
LABlab(87.8 -69.1 29.1)
LCHlch(87.8 75.0 157.1)
OKLCHoklch(0.871 0.200 158.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0ffba2 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#0ffba2 on black: 15.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green98.4%
Blue63.5%

CMYK percentages

Cyan94.0%
Magenta0.0%
Yellow35.5%
Key (black)1.6%

Color previews

#0ffba2 text on a black background

contrast 15.34:1

Card sample

#0ffba2 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0ffba2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0ffba2 in the Color Lab