Skip to content

#c0dfba

a light, soft green · cool · closest name: beige

RGB
192, 223, 186
HSL
110°, 37%, 80%
CMYK
14, 0, 17, 13
Luminance
0.6753

Every format

HEX#c0dfba
RGBrgb(192, 223, 186)
HSLhsl(110, 37%, 80%)
CMYKcmyk(14%, 0%, 17%, 13%)
LABlab(85.8 -17.0 14.8)
LCHlch(85.8 22.6 139.1)
OKLCHoklch(0.871 0.060 140.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0dfba on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#c0dfba on black: 14.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green87.5%
Blue72.9%

CMYK percentages

Cyan13.9%
Magenta0.0%
Yellow16.6%
Key (black)12.5%

Color previews

#c0dfba text on a black background

contrast 14.51:1

Card sample

#c0dfba text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0dfba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0dfba in the Color Lab