Skip to content

#cefba4

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

RGB
206, 251, 164
HSL
91°, 92%, 81%
CMYK
18, 0, 35, 2
Luminance
0.8480

Every format

HEX#cefba4
RGBrgb(206, 251, 164)
HSLhsl(91, 92%, 81%)
CMYKcmyk(18%, 0%, 35%, 2%)
LABlab(93.8 -29.0 37.1)
LCHlch(93.8 47.1 128.0)
OKLCHoklch(0.936 0.121 130.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cefba4 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#cefba4 on black: 17.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green98.4%
Blue64.3%

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow34.7%
Key (black)1.6%

Color previews

#cefba4 text on a black background

contrast 17.96:1

Card sample

#cefba4 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cefba4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefba4 in the Color Lab