Skip to content

#0afba4

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

RGB
10, 251, 164
HSL
158°, 97%, 51%
CMYK
96, 0, 35, 2
Luminance
0.7174

Every format

HEX#0afba4
RGBrgb(10, 251, 164)
HSLhsl(158, 97%, 51%)
CMYKcmyk(96%, 0%, 35%, 2%)
LABlab(87.8 -68.8 28.1)
LCHlch(87.8 74.3 157.8)
OKLCHoklch(0.872 0.199 159.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red3.9%
Green98.4%
Blue64.3%

CMYK percentages

Cyan96.0%
Magenta0.0%
Yellow34.7%
Key (black)1.6%

Color previews

#0afba4 text on a black background

contrast 15.35:1

Card sample

#0afba4 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0afba4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0afba4 in the Color Lab