Skip to content

#c7da39

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

RGB
199, 218, 57
HSL
67°, 69%, 54%
CMYK
9, 0, 74, 15
Luminance
0.6258

Every format

HEX#c7da39
RGBrgb(199, 218, 57)
HSLhsl(67, 69%, 54%)
CMYKcmyk(9%, 0%, 74%, 15%)
LABlab(83.2 -25.8 71.7)
LCHlch(83.2 76.2 109.8)
OKLCHoklch(0.847 0.176 116.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red78.0%
Green85.5%
Blue22.4%

CMYK percentages

Cyan8.7%
Magenta0.0%
Yellow73.9%
Key (black)14.5%

Color previews

#c7da39 text on a black background

contrast 13.52:1

Card sample

#c7da39 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(199, 218, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 218, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7da39;
background: linear-gradient(135deg, #c7da39, #5CDA39);

Monochromatic scale

Palettes built from #c7da39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7da39 in the Color Lab