Skip to content

#c0f4ab

a light, electric green · cool · closest name: khaki

RGB
192, 244, 171
HSL
103°, 77%, 81%
CMYK
21, 0, 30, 4
Luminance
0.7885

Every format

HEX#c0f4ab
RGBrgb(192, 244, 171)
HSLhsl(103, 77%, 81%)
CMYKcmyk(21%, 0%, 30%, 4%)
LABlab(91.2 -29.6 29.9)
LCHlch(91.2 42.1 134.7)
OKLCHoklch(0.913 0.110 136.9)

Copy-ready code

/* CSS */
color: #c0f4ab;
background-color: #c0f4ab;
/* Tailwind (arbitrary) */
class="text-[#c0f4ab] bg-[#c0f4ab]"
/* SCSS */
$brand: #c0f4ab;
/* SwiftUI */
Color(red: 0.753, green: 0.957, blue: 0.671)
/* Android */
Color.parseColor("#c0f4ab")

Accessibility — WCAG contrast

Aa
#c0f4ab on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#c0f4ab on black: 16.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green95.7%
Blue67.1%

CMYK percentages

Cyan21.3%
Magenta0.0%
Yellow29.9%
Key (black)4.3%

Color previews

#c0f4ab text on a black background

contrast 16.77:1

Card sample

#c0f4ab text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 244, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 244, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0f4ab;
background: linear-gradient(135deg, #c0f4ab, #ABF4C7);

Monochromatic scale

Palettes built from #c0f4ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0f4ab in the Color Lab