Skip to content

#baf075

a light, electric green · cool · closest name: khaki

RGB
186, 240, 117
HSL
86°, 80%, 70%
CMYK
23, 0, 51, 6
Luminance
0.7404

Every format

HEX#baf075
RGBrgb(186, 240, 117)
HSLhsl(86, 80%, 70%)
CMYKcmyk(23%, 0%, 51%, 6%)
LABlab(88.9 -36.6 53.4)
LCHlch(88.9 64.8 124.5)
OKLCHoklch(0.892 0.163 128.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf075 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#baf075 on black: 15.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green94.1%
Blue45.9%

CMYK percentages

Cyan22.5%
Magenta0.0%
Yellow51.3%
Key (black)5.9%

Color previews

#baf075 text on a black background

contrast 15.81:1

Card sample

#baf075 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 240, 117, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 240, 117, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf075;
background: linear-gradient(135deg, #baf075, #75F082);

Monochromatic scale

Palettes built from #baf075

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf075 in the Color Lab