Skip to content

#cbba3f

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

RGB
203, 186, 63
HSL
53°, 57%, 52%
CMYK
0, 8, 69, 20
Luminance
0.4817

Every format

HEX#cbba3f
RGBrgb(203, 186, 63)
HSLhsl(53, 57%, 52%)
CMYKcmyk(0%, 8%, 69%, 20%)
LABlab(74.9 -7.9 61.6)
LCHlch(74.9 62.1 97.3)
OKLCHoklch(0.781 0.140 101.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbba3f on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#cbba3f on black: 10.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green72.9%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta8.4%
Yellow69.0%
Key (black)20.4%

Color previews

#cbba3f text on a black background

contrast 10.63:1

Card sample

#cbba3f text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 186, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 186, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbba3f;
background: linear-gradient(135deg, #cbba3f, #7FCB3F);

Monochromatic scale

Palettes built from #cbba3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbba3f in the Color Lab