Skip to content

#c2cd3f

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

RGB
194, 205, 63
HSL
65°, 59%, 53%
CMYK
5, 0, 69, 20
Luminance
0.5549

Every format

HEX#c2cd3f
RGBrgb(194, 205, 63)
HSLhsl(65, 59%, 53%)
CMYKcmyk(5%, 0%, 69%, 20%)
LABlab(79.3 -21.2 65.8)
LCHlch(79.3 69.1 107.9)
OKLCHoklch(0.815 0.160 113.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2cd3f on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#c2cd3f on black: 12.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green80.4%
Blue24.7%

CMYK percentages

Cyan5.4%
Magenta0.0%
Yellow69.3%
Key (black)19.6%

Color previews

#c2cd3f text on a black background

contrast 12.10:1

Card sample

#c2cd3f text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 205, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 205, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2cd3f;
background: linear-gradient(135deg, #c2cd3f, #63CD3F);

Monochromatic scale

Palettes built from #c2cd3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cd3f in the Color Lab