Skip to content

#c2db51

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

RGB
194, 219, 81
HSL
71°, 66%, 59%
CMYK
11, 0, 63, 14
Luminance
0.6273

Every format

HEX#c2db51
RGBrgb(194, 219, 81)
HSLhsl(71, 66%, 59%)
CMYKcmyk(11%, 0%, 63%, 14%)
LABlab(83.3 -26.9 62.9)
LCHlch(83.3 68.4 113.2)
OKLCHoklch(0.847 0.164 118.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2db51 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#c2db51 on black: 13.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green85.9%
Blue31.8%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow63.0%
Key (black)14.1%

Color previews

#c2db51 text on a black background

contrast 13.55:1

Card sample

#c2db51 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 219, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 219, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2db51;
background: linear-gradient(135deg, #c2db51, #66DB51);

Monochromatic scale

Palettes built from #c2db51

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2db51 in the Color Lab