Skip to content

#c2db2e

a balanced, vivid yellow · cool · closest name: yellow

RGB
194, 219, 46
HSL
69°, 71%, 52%
CMYK
11, 0, 79, 14
Luminance
0.6233

Every format

HEX#c2db2e
RGBrgb(194, 219, 46)
HSLhsl(69, 71%, 52%)
CMYKcmyk(11%, 0%, 79%, 14%)
LABlab(83.1 -28.7 74.7)
LCHlch(83.1 80.1 111.0)
OKLCHoklch(0.844 0.184 118.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2db2e on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#c2db2e on black: 13.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green85.9%
Blue18.0%

CMYK percentages

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

Color previews

#c2db2e text on a black background

contrast 13.47:1

Card sample

#c2db2e text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2db2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2db2e in the Color Lab