Skip to content

#c2d1af

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

RGB
194, 209, 175
HSL
87°, 27%, 75%
CMYK
7, 0, 16, 18
Luminance
0.6017

Every format

HEX#c2d1af
RGBrgb(194, 209, 175)
HSLhsl(87, 27%, 75%)
CMYKcmyk(7%, 0%, 16%, 18%)
LABlab(81.9 -11.1 15.2)
LCHlch(81.9 18.8 126.2)
OKLCHoklch(0.840 0.049 126.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2d1af on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#c2d1af on black: 13.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green82.0%
Blue68.6%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow16.3%
Key (black)18.0%

Color previews

#c2d1af text on a black background

contrast 13.03:1

Card sample

#c2d1af text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2d1af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2d1af in the Color Lab