Skip to content

#baf063

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

RGB
186, 240, 99
HSL
83°, 83%, 67%
CMYK
23, 0, 59, 6
Luminance
0.7366

Every format

HEX#baf063
RGBrgb(186, 240, 99)
HSLhsl(83, 83%, 67%)
CMYKcmyk(23%, 0%, 59%, 6%)
LABlab(88.8 -38.3 61.2)
LCHlch(88.8 72.2 122.1)
OKLCHoklch(0.890 0.179 127.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green94.1%
Blue38.8%

CMYK percentages

Cyan22.5%
Magenta0.0%
Yellow58.8%
Key (black)5.9%

Color previews

#baf063 text on a black background

contrast 15.73:1

Card sample

#baf063 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf063

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf063 in the Color Lab