Skip to content

#cefbaf

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

RGB
206, 251, 175
HSL
96°, 91%, 84%
CMYK
18, 0, 30, 2
Luminance
0.8521

Every format

HEX#cefbaf
RGBrgb(206, 251, 175)
HSLhsl(96, 91%, 84%)
CMYKcmyk(18%, 0%, 30%, 2%)
LABlab(94.0 -27.5 31.9)
LCHlch(94.0 42.1 130.8)
OKLCHoklch(0.938 0.110 133.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cefbaf on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#cefbaf on black: 18.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green98.4%
Blue68.6%

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#cefbaf text on a black background

contrast 18.04:1

Card sample

#cefbaf text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cefbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefbaf in the Color Lab