Skip to content

#cef3b5

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

RGB
206, 243, 181
HSL
96°, 72%, 83%
CMYK
15, 0, 26, 5
Luminance
0.8056

Every format

HEX#cef3b5
RGBrgb(206, 243, 181)
HSLhsl(96, 72%, 83%)
CMYKcmyk(15%, 0%, 26%, 5%)
LABlab(91.9 -22.8 26.1)
LCHlch(91.9 34.6 131.2)
OKLCHoklch(0.922 0.090 133.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cef3b5 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#cef3b5 on black: 17.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green95.3%
Blue71.0%

CMYK percentages

Cyan15.2%
Magenta0.0%
Yellow25.5%
Key (black)4.7%

Color previews

#cef3b5 text on a black background

contrast 17.11:1

Card sample

#cef3b5 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cef3b5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cef3b5 in the Color Lab