Skip to content

#cbbc4f

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

RGB
203, 188, 79
HSL
53°, 54%, 55%
CMYK
0, 7, 61, 20
Luminance
0.4923

Every format

HEX#cbbc4f
RGBrgb(203, 188, 79)
HSLhsl(53, 54%, 55%)
CMYKcmyk(0%, 7%, 61%, 20%)
LABlab(75.6 -7.9 55.6)
LCHlch(75.6 56.2 98.1)
OKLCHoklch(0.787 0.130 101.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbbc4f on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#cbbc4f on black: 10.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green73.7%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta7.4%
Yellow61.1%
Key (black)20.4%

Color previews

#cbbc4f text on a black background

contrast 10.85:1

Card sample

#cbbc4f text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 188, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 188, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbbc4f;
background: linear-gradient(135deg, #cbbc4f, #87CB4F);

Monochromatic scale

Palettes built from #cbbc4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbbc4f in the Color Lab