Skip to content

#bacf3f

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

RGB
186, 207, 63
HSL
69°, 60%, 53%
CMYK
10, 0, 70, 19
Luminance
0.5542

Every format

HEX#bacf3f
RGBrgb(186, 207, 63)
HSLhsl(69, 60%, 53%)
CMYKcmyk(10%, 0%, 70%, 19%)
LABlab(79.3 -25.5 65.5)
LCHlch(79.3 70.3 111.3)
OKLCHoklch(0.813 0.165 117.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bacf3f on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#bacf3f on black: 12.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green81.2%
Blue24.7%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow69.6%
Key (black)18.8%

Color previews

#bacf3f text on a black background

contrast 12.08:1

Card sample

#bacf3f text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bacf3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacf3f in the Color Lab