Skip to content

#bec968

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

RGB
190, 201, 104
HSL
67°, 47%, 60%
CMYK
6, 0, 48, 21
Luminance
0.5372

Every format

HEX#bec968
RGBrgb(190, 201, 104)
HSLhsl(67, 47%, 60%)
CMYKcmyk(6%, 0%, 48%, 21%)
LABlab(78.3 -17.9 46.8)
LCHlch(78.3 50.1 110.9)
OKLCHoklch(0.807 0.122 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bec968 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#bec968 on black: 11.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.5%
Green78.8%
Blue40.8%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow48.3%
Key (black)21.2%

Color previews

#bec968 text on a black background

contrast 11.74:1

Card sample

#bec968 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(190, 201, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 201, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bec968;
background: linear-gradient(135deg, #bec968, #7DC968);

Monochromatic scale

Palettes built from #bec968

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bec968 in the Color Lab