Skip to content

#1fba4d

a dark, vivid green · cool · closest name: forestgreen

RGB
31, 186, 77
HSL
138°, 71%, 43%
CMYK
83, 0, 59, 27
Luminance
0.3594

Every format

HEX#1fba4d
RGBrgb(31, 186, 77)
HSLhsl(138, 71%, 43%)
CMYKcmyk(83%, 0%, 59%, 27%)
LABlab(66.5 -60.8 43.9)
LCHlch(66.5 75.0 144.2)
OKLCHoklch(0.691 0.194 147.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1fba4d on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#1fba4d on black: 8.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green72.9%
Blue30.2%

CMYK percentages

Cyan83.3%
Magenta0.0%
Yellow58.6%
Key (black)27.1%

Color previews

#1fba4d text on a black background

contrast 8.19:1

Card sample

#1fba4d text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(31, 186, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 186, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1fba4d;
background: linear-gradient(135deg, #1fba4d, #1FBAB4);

Monochromatic scale

Palettes built from #1fba4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1fba4d in the Color Lab