Skip to content

#c8db2f

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

RGB
200, 219, 47
HSL
67°, 71%, 52%
CMYK
9, 0, 79, 14
Luminance
0.6315

Every format

HEX#c8db2f
RGBrgb(200, 219, 47)
HSLhsl(67, 71%, 52%)
CMYKcmyk(9%, 0%, 79%, 14%)
LABlab(83.5 -26.2 75.0)
LCHlch(83.5 79.5 109.3)
OKLCHoklch(0.849 0.182 116.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8db2f on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#c8db2f on black: 13.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green85.9%
Blue18.4%

CMYK percentages

Cyan8.7%
Magenta0.0%
Yellow78.5%
Key (black)14.1%

Color previews

#c8db2f text on a black background

contrast 13.63:1

Card sample

#c8db2f text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8db2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8db2f in the Color Lab