Skip to content

#b9cf2f

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

RGB
185, 207, 47
HSL
68°, 63%, 50%
CMYK
11, 0, 77, 19
Luminance
0.5515

Every format

HEX#b9cf2f
RGBrgb(185, 207, 47)
HSLhsl(68, 63%, 50%)
CMYKcmyk(11%, 0%, 77%, 19%)
LABlab(79.1 -26.7 70.7)
LCHlch(79.1 75.5 110.7)
OKLCHoklch(0.811 0.174 117.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b9cf2f on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#b9cf2f on black: 12.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green81.2%
Blue18.4%

CMYK percentages

Cyan10.6%
Magenta0.0%
Yellow77.3%
Key (black)18.8%

Color previews

#b9cf2f text on a black background

contrast 12.03:1

Card sample

#b9cf2f text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(185, 207, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(185, 207, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b9cf2f;
background: linear-gradient(135deg, #b9cf2f, #4ECF2F);

Monochromatic scale

Palettes built from #b9cf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b9cf2f in the Color Lab