Skip to content

#cab749

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

RGB
202, 183, 73
HSL
51°, 55%, 54%
CMYK
0, 9, 64, 21
Luminance
0.4690

Every format

HEX#cab749
RGBrgb(202, 183, 73)
HSLhsl(51, 55%, 54%)
CMYKcmyk(0%, 9%, 64%, 21%)
LABlab(74.1 -6.2 56.6)
LCHlch(74.1 57.0 96.2)
OKLCHoklch(0.775 0.131 99.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cab749 on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#cab749 on black: 10.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green71.8%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta9.4%
Yellow63.9%
Key (black)20.8%

Color previews

#cab749 text on a black background

contrast 10.38:1

Card sample

#cab749 text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 183, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 183, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cab749;
background: linear-gradient(135deg, #cab749, #87CA49);

Monochromatic scale

Palettes built from #cab749

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cab749 in the Color Lab