Skip to content

#beaf2d

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

RGB
190, 175, 45
HSL
54°, 62%, 46%
CMYK
0, 8, 76, 26
Luminance
0.4180

Every format

HEX#beaf2d
RGBrgb(190, 175, 45)
HSLhsl(54, 62%, 46%)
CMYKcmyk(0%, 8%, 76%, 26%)
LABlab(70.7 -8.6 63.7)
LCHlch(70.7 64.3 97.7)
OKLCHoklch(0.745 0.143 102.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#beaf2d on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#beaf2d on black: 9.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.5%
Green68.6%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta7.9%
Yellow76.3%
Key (black)25.5%

Color previews

#beaf2d text on a black background

contrast 9.36:1

Card sample

#beaf2d text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(190, 175, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 175, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #beaf2d;
background: linear-gradient(135deg, #beaf2d, #6CBE2D);

Monochromatic scale

Palettes built from #beaf2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #beaf2d in the Color Lab