Skip to content

#cfdb38

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

RGB
207, 219, 56
HSL
64°, 69%, 54%
CMYK
6, 0, 74, 14
Luminance
0.6421

Every format

HEX#cfdb38
RGBrgb(207, 219, 56)
HSLhsl(64, 69%, 54%)
CMYKcmyk(6%, 0%, 74%, 14%)
LABlab(84.1 -23.0 73.0)
LCHlch(84.1 76.6 107.5)
OKLCHoklch(0.855 0.175 113.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.9%
Blue22.0%

CMYK percentages

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

Color previews

#cfdb38 text on a black background

contrast 13.84:1

Card sample

#cfdb38 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdb38

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb38 in the Color Lab