Skip to content

#cfdb37

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

RGB
207, 219, 55
HSL
64°, 70%, 54%
CMYK
6, 0, 75, 14
Luminance
0.6420

Every format

HEX#cfdb37
RGBrgb(207, 219, 55)
HSLhsl(64, 70%, 54%)
CMYKcmyk(6%, 0%, 75%, 14%)
LABlab(84.1 -23.1 73.3)
LCHlch(84.1 76.9 107.4)
OKLCHoklch(0.855 0.176 113.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdb37 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#cfdb37 on black: 13.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green85.9%
Blue21.6%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow74.9%
Key (black)14.1%

Color previews

#cfdb37 text on a black background

contrast 13.84:1

Card sample

#cfdb37 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 219, 55, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 219, 55, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdb37;
background: linear-gradient(135deg, #cfdb37, #62DB37);

Monochromatic scale

Palettes built from #cfdb37

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb37 in the Color Lab