Skip to content

#c0db2f

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

RGB
192, 219, 47
HSL
69°, 71%, 52%
CMYK
12, 0, 79, 14
Luminance
0.6207

Every format

HEX#c0db2f
RGBrgb(192, 219, 47)
HSLhsl(69, 71%, 52%)
CMYKcmyk(12%, 0%, 79%, 14%)
LABlab(83.0 -29.5 74.3)
LCHlch(83.0 79.9 111.7)
OKLCHoklch(0.843 0.185 118.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0db2f on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#c0db2f on black: 13.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green85.9%
Blue18.4%

CMYK percentages

Cyan12.3%
Magenta0.0%
Yellow78.5%
Key (black)14.1%

Color previews

#c0db2f text on a black background

contrast 13.41:1

Card sample

#c0db2f text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0db2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0db2f in the Color Lab