Skip to content

#c2cb4b

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

RGB
194, 203, 75
HSL
64°, 55%, 55%
CMYK
4, 0, 63, 20
Luminance
0.5469

Every format

HEX#c2cb4b
RGBrgb(194, 203, 75)
HSLhsl(64, 55%, 55%)
CMYKcmyk(4%, 0%, 63%, 20%)
LABlab(78.9 -19.6 60.6)
LCHlch(78.9 63.7 107.9)
OKLCHoklch(0.811 0.150 113.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2cb4b on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#c2cb4b on black: 11.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green79.6%
Blue29.4%

CMYK percentages

Cyan4.4%
Magenta0.0%
Yellow63.1%
Key (black)20.4%

Color previews

#c2cb4b text on a black background

contrast 11.94:1

Card sample

#c2cb4b text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 203, 75, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 203, 75, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2cb4b;
background: linear-gradient(135deg, #c2cb4b, #6DCB4B);

Monochromatic scale

Palettes built from #c2cb4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cb4b in the Color Lab