Skip to content

#cfdb2b

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

RGB
207, 219, 43
HSL
64°, 71%, 51%
CMYK
6, 0, 80, 14
Luminance
0.6410

Every format

HEX#cfdb2b
RGBrgb(207, 219, 43)
HSLhsl(64, 71%, 51%)
CMYKcmyk(6%, 0%, 80%, 14%)
LABlab(84.0 -23.5 76.7)
LCHlch(84.0 80.2 107.0)
OKLCHoklch(0.854 0.181 113.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.9%
Blue16.9%

CMYK percentages

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

Color previews

#cfdb2b text on a black background

contrast 13.82:1

Card sample

#cfdb2b text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdb2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb2b in the Color Lab