#1FB21F color

#1FB21F is rgb(31, 178, 31) in RGB and hsl(120, 70%, 41%) in HSL. The closest CSS named color is limegreen (#32cd32, ΔE 7.3). Use black text on it (contrast 7.45:1).

#1FB21Fgreen
HEX#1FB21F
RGBrgb(31, 178, 31)
RGB percentrgb(12.2%, 69.8%, 12.2%)
HSLhsl(120, 70%, 41%)
HSV / HSBhsv(120, 83%, 70%)
CMYKcmyk(83%, 0%, 83%, 30%)
CIELAB (D65)lab(63.5 -62.6 58.4)

Edit in the color converter → · Check contrast → · Shades →

About #1FB21F

#1FB21F is a medium-dark, saturated green with a hue angle of 120°. It belongs to the green family and reads as a cool color. In the RGB model green is the strongest channel at 178 (70%) and red the weakest at 31 (12%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#1FB21F
RGBrgb(31, 178, 31)
RGB percentrgb(12.2%, 69.8%, 12.2%)
HSLhsl(120, 70%, 41%)
HSV / HSBhsv(120, 83%, 70%)
CMYKcmyk(83%, 0%, 83%, 30%)
CIELAB (D65)lab(63.5 -62.6 58.4)
Decimal2077215
Binary00011111 10110010 00011111

HEX 1F B2 1F → 31, 178, 31 (each pair is a base-16 number: 1×16 + F = 31)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #1FB21F

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #1FB21FRatioAA normalAA largeAAA normalAAA large
White text2.82:1FailFailFailFail
Black text7.45:1PassPassPassPass
White text on #1FB21F
Black text on #1FB21F
#1FB21F text on white
#1FB21F text on black

Relative luminance is 0.3223 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#b6a000

Deuteranopia
#a79632

Tritanopia
#00ad98

Achromatopsia
#9a9a9a

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 24.4). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
limegreen#32cd327.3
mediumseagreen#3cb37111
forestgreen#228b2212.6
olivedrab#6b8e2313.8

CSS

.element {
  color: #1fb21f;
  background-color: rgb(31, 178, 31);
  border: 1px solid hsl(120, 70%, 41%);
  box-shadow: 0 2px 8px rgb(31 178 31 / 50%);
}
:root { --brand: #1fb21f; }

Frequently asked questions

What color is #1FB21F?
A medium-dark saturated green in the green family. Closest CSS name: limegreen.
What is #1FB21F in RGB?
rgb(31, 178, 31): red 31, green 178, blue 31.
What is the complementary color of #1FB21F?
#B21FB2, found by rotating the hue 180°.