Skip to content

#caba3f

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

RGB
202, 186, 63
HSL
53°, 57%, 52%
CMYK
0, 8, 69, 21
Luminance
0.4803

Every format

HEX#caba3f
RGBrgb(202, 186, 63)
HSLhsl(53, 57%, 52%)
CMYKcmyk(0%, 8%, 69%, 21%)
LABlab(74.8 -8.3 61.5)
LCHlch(74.8 62.1 97.7)
OKLCHoklch(0.780 0.141 101.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caba3f on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#caba3f on black: 10.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green72.9%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta7.9%
Yellow68.8%
Key (black)20.8%

Color previews

#caba3f text on a black background

contrast 10.61:1

Card sample

#caba3f text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caba3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caba3f in the Color Lab