Skip to content

#cff0af

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

RGB
207, 240, 175
HSL
91°, 68%, 81%
CMYK
14, 0, 27, 6
Luminance
0.7868

Every format

HEX#cff0af
RGBrgb(207, 240, 175)
HSLhsl(91, 68%, 81%)
CMYKcmyk(14%, 0%, 27%, 6%)
LABlab(91.1 -21.9 28.0)
LCHlch(91.1 35.5 128.1)
OKLCHoklch(0.915 0.092 129.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cff0af on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#cff0af on black: 16.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green94.1%
Blue68.6%

CMYK percentages

Cyan13.7%
Magenta0.0%
Yellow27.1%
Key (black)5.9%

Color previews

#cff0af text on a black background

contrast 16.74:1

Card sample

#cff0af text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cff0af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cff0af in the Color Lab