Skip to content

#c8d2af

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

RGB
200, 210, 175
HSL
77°, 28%, 76%
CMYK
5, 0, 17, 18
Luminance
0.6147

Every format

HEX#c8d2af
RGBrgb(200, 210, 175)
HSLhsl(77, 28%, 76%)
CMYKcmyk(5%, 0%, 17%, 18%)
LABlab(82.6 -9.5 16.2)
LCHlch(82.6 18.8 120.3)
OKLCHoklch(0.847 0.048 120.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8d2af on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#c8d2af on black: 13.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green82.4%
Blue68.6%

CMYK percentages

Cyan4.8%
Magenta0.0%
Yellow16.7%
Key (black)17.6%

Color previews

#c8d2af text on a black background

contrast 13.29:1

Card sample

#c8d2af text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8d2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8d2af in the Color Lab