Skip to content

#cbda2f

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

RGB
203, 218, 47
HSL
65°, 70%, 52%
CMYK
7, 0, 78, 15
Luminance
0.6304

Every format

HEX#cbda2f
RGBrgb(203, 218, 47)
HSLhsl(65, 70%, 52%)
CMYKcmyk(7%, 0%, 78%, 15%)
LABlab(83.5 -24.5 75.0)
LCHlch(83.5 79.0 108.1)
OKLCHoklch(0.849 0.180 114.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green85.5%
Blue18.4%

CMYK percentages

Cyan6.9%
Magenta0.0%
Yellow78.4%
Key (black)14.5%

Color previews

#cbda2f text on a black background

contrast 13.61:1

Card sample

#cbda2f text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 218, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 218, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbda2f;
background: linear-gradient(135deg, #cbda2f, #59DA2F);

Monochromatic scale

Palettes built from #cbda2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbda2f in the Color Lab