Skip to content

#c2ce2f

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

RGB
194, 206, 47
HSL
65°, 63%, 50%
CMYK
6, 0, 77, 19
Luminance
0.5582

Every format

HEX#c2ce2f
RGBrgb(194, 206, 47)
HSLhsl(65, 63%, 50%)
CMYKcmyk(6%, 0%, 77%, 19%)
LABlab(79.5 -22.5 71.2)
LCHlch(79.5 74.7 107.5)
OKLCHoklch(0.816 0.170 114.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ce2f on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#c2ce2f on black: 12.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green80.8%
Blue18.4%

CMYK percentages

Cyan5.8%
Magenta0.0%
Yellow77.2%
Key (black)19.2%

Color previews

#c2ce2f text on a black background

contrast 12.16:1

Card sample

#c2ce2f text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 206, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 206, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2ce2f;
background: linear-gradient(135deg, #c2ce2f, #58CE2F);

Monochromatic scale

Palettes built from #c2ce2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ce2f in the Color Lab