Skip to content

#cbda2c

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

RGB
203, 218, 44
HSL
65°, 70%, 51%
CMYK
7, 0, 80, 15
Luminance
0.6302

Every format

HEX#cbda2c
RGBrgb(203, 218, 44)
HSLhsl(65, 70%, 51%)
CMYKcmyk(7%, 0%, 80%, 15%)
LABlab(83.5 -24.6 75.8)
LCHlch(83.5 79.7 108.0)
OKLCHoklch(0.849 0.181 114.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green85.5%
Blue17.3%

CMYK percentages

Cyan6.9%
Magenta0.0%
Yellow79.8%
Key (black)14.5%

Color previews

#cbda2c text on a black background

contrast 13.60:1

Card sample

#cbda2c text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbda2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbda2c in the Color Lab